* Fixing push/popd path typo
* Removing export command from cargo-unit-test job This was causing the job to fail so the env vars have been moved to live under the ci file's job-level variables key
This commit is contained in:
parent
f845f1e1ec
commit
11d1652467
@ -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:
|
||||
|
@ -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=$!
|
||||
|
Loading…
Reference in New Issue
Block a user