diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ae9863..f9e99e7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -154,9 +154,7 @@ cargo-test-json-api: script: - cd json-api/ - - export HMAC_PATH="../hmac.secret" && \ - export WSS_HMAC_PATH="../wss-hmac.secret" && \ - cargo test --release + - cargo test --release artifacts: paths: diff --git a/scripts/run-api-tests.sh b/scripts/run-api-tests.sh index b6865d2..a0a8e0b 100644 --- a/scripts/run-api-tests.sh +++ b/scripts/run-api-tests.sh @@ -1,14 +1,14 @@ #!/bin/bash # First the rtc server -pushd ../rtc-server/ +pushd ./rtc-server/ echo Setting up RTC server npm run autotest& rtc_pid=$! popd # Next the json api -pushd ../json-api/ +pushd ./json-api/ echo Setting up API server cargo run --release -- -H ../hmac.secret -w ../wss-hmac.secret -s& json_pid=$!