From c694f3dd3b8b3c640ee11b43417a58abcf279e69 Mon Sep 17 00:00:00 2001 From: Radu Ciobanu Date: Wed, 6 Sep 2023 11:06:06 +0800 Subject: [PATCH] Fixed db setup --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03339c4..e57e7e3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,9 +48,9 @@ jobs: run: cargo install diesel_cli --no-default-features --features postgres - name: Create Test DBs env: - DATABASE_URL: postgres://postgres:postgres@localhost:5432 + DATABASE_URL: postgres://postgres:postgres@localhost:5432/bento_test run: | - diesel database create + diesel database setup diesel migration run - name: cargo test --locked run: cargo test --locked --all-features --all-targets