From 220b9ea43b239a982066700ea523b3bef637a1cd Mon Sep 17 00:00:00 2001 From: Sebastien Iooss Date: Thu, 11 Jan 2024 11:37:57 +0100 Subject: [PATCH] ci: add database url env variable for sqlx --- .github/workflows/build_test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index 35b0783..940f8d0 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -6,6 +6,8 @@ on: jobs: fmt: runs-on: ubuntu-latest + env: + DATABASE_URL: sqlite://${{ github.workspace }}/examples/universe.db steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@stable