Skip to content

Commit

Permalink
Add EVENT_DB_URL to CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeRosa committed Mar 17, 2023
1 parent 54ff6fe commit ce80da7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci-tests-n-coverage.yml
Expand Up @@ -67,6 +67,7 @@ jobs:
- name: Run unit tests
env:
TEST_DATABASE_URL: postgres://postgres:postgres@localhost
EVENT_DB_URL: postgres://postgres:postgres@localhost
run: |
cargo llvm-cov nextest --no-report --manifest-path ./src/catalyst-toolbox/catalyst-toolbox/Cargo.toml --profile ci
cargo llvm-cov nextest --no-report --manifest-path ./src/catalyst-toolbox/snapshot-lib/Cargo.toml --profile ci
Expand Down Expand Up @@ -153,6 +154,7 @@ jobs:
- name: Run integration tests
env:
TEST_DATABASE_URL: postgres://postgres:postgres@localhost
EVENT_DB_URL: postgres://postgres:postgres@localhost
run: |
source <(cargo llvm-cov show-env --export-prefix)
cargo build -p jcli -p jormungandr -p explorer -p vit-servicing-station-cli -p vit-servicing-station-server
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Expand Up @@ -165,7 +165,7 @@ jobs:
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- name: Checkout code
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -220,6 +220,7 @@ jobs:
- name: Run Catalyst Core tests
env:
TEST_DATABASE_URL: postgres://postgres:123456@localhost
EVENT_DB_URL: postgres://postgres:123456@localhost
## removing test ui_test because of bug https://github.com/rust-lang/cargo/issues/10352
run: |
cargo nextest run \
Expand Down

0 comments on commit ce80da7

Please sign in to comment.