From bc0c40a52f4da66a56e28f4367f6f4555db217f6 Mon Sep 17 00:00:00 2001 From: Max Countryman Date: Thu, 10 Oct 2024 11:58:13 -0700 Subject: [PATCH] sqlx database setup --- .github/workflows/rust.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 563d90e..7375e16 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -63,7 +63,6 @@ jobs: postgres: image: postgres env: - #POSTGRES_HOST: localhost POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: underway @@ -85,7 +84,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Run lib tests run: | - cargo sqlx database create + cargo sqlx database setup cargo test --workspace --all-features --lib cargo tarpaulin --workspace --all-features --lib -olcov - name: Upload coverage data to Codecov