Skip to content

Commit

Permalink
Fix ci tests
Browse files Browse the repository at this point in the history
  • Loading branch information
david-zk committed Oct 3, 2024
1 parent 889d0fb commit 5f9f7ac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/coprocessor-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,9 @@ jobs:
# build with --release flag for faster tests
cargo build --release
cargo build --tests --release
COPROCESSOR_TEST_LOCAL_DB=true cargo test --release -- --nocapture
DATABASE_URL="postgres://postgres:postgres@localhost/coprocessor" cargo run --release -- --metrics-addr=127.0.0.1:9100 --run-server &
DATABASE_URL="postgres://postgres:postgres@localhost/coprocessor" cargo run --release -- --metrics-addr=127.0.0.1:9101 --run-bg-worker &
# give some time for ports to open etc
sleep 1
COPROCESSOR_TEST_LOCALHOST=true cargo test --release -- --nocapture

0 comments on commit 5f9f7ac

Please sign in to comment.