Update rust.yml
This commit is contained in:
parent
7d7a4d102a
commit
111b8dd8f0
|
@ -28,13 +28,8 @@ jobs:
|
||||||
npm install
|
npm install
|
||||||
npm run setup
|
npm run setup
|
||||||
npm run start &
|
npm run start &
|
||||||
echo $! > server_pid.txt
|
|
||||||
working-directory: ./spacebarchat-server
|
working-directory: ./spacebarchat-server
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cargo build --verbose
|
run: cargo build --verbose
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --verbose
|
run: cargo test --verbose
|
||||||
- name: Terminate the server
|
|
||||||
run: |
|
|
||||||
kill $(cat server_pid.txt)
|
|
||||||
rm server_pid.txt
|
|
||||||
|
|
Loading…
Reference in New Issue