fix(ci): build API then run in background to prevent timeout
This commit is contained in:
2
.github/workflows/rust.yaml
vendored
2
.github/workflows/rust.yaml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
TEST_DB: REFERENCE
|
TEST_DB: REFERENCE
|
||||||
run: |
|
run: |
|
||||||
cargo run --bin revolt-delta &
|
cargo build --bin revolt-delta && cargo run --bin revolt-delta &
|
||||||
|
|
||||||
- name: Wait for API to go up
|
- name: Wait for API to go up
|
||||||
if: github.event_name != 'pull_request' && github.ref_name == 'master'
|
if: github.event_name != 'pull_request' && github.ref_name == 'master'
|
||||||
|
|||||||
Reference in New Issue
Block a user