Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Commit 7126ea9

Browse files
committed
fix: add postgresql db to workflow
1 parent 0c67c6e commit 7126ea9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build-test-coverage.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,13 @@ jobs:
2121
timeout-minutes: 30
2222
steps:
2323
- uses: actions/checkout@v4
24+
- uses: ikalnytskyi/action-setup-postgres@v6
25+
with:
26+
username: sonata
27+
password: sljkdhfghjklsdfghjkldfsghjklsdfghjklsdfg
28+
database: sonata
29+
port: 5432
30+
id: postgres
2431
- uses: dtolnay/rust-toolchain@nightly
2532
with:
2633
components: "llvm-tools-preview"
@@ -34,6 +41,8 @@ jobs:
3441
run: |
3542
cargo binstall --no-confirm --force --only-signed cargo-llvm-cov
3643
- name: Build, Test, Publish Coverage
44+
env:
45+
DATABASE_URL: ${{ steps.postgres.outputs.connection-uri }}
3746
run: |
3847
if [ -n "${{ secrets.COVERALLS_REPO_TOKEN }}" ]; then
3948
mkdir -p coverage

0 commit comments

Comments
 (0)