From f2ac6f2ad1ea29ea6a41d559ce3a7bd20e20d2a1 Mon Sep 17 00:00:00 2001 From: Brian Rosner Date: Tue, 21 May 2024 08:06:06 -0600 Subject: [PATCH] mount code in tests --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed3eea5..bbf8e56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,7 +53,7 @@ jobs: uses: addnab/docker-run-action@v3 with: image: ${{ env.IMAGE_NAME }}:ci - options: -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres + options: -v ${{ github.workspace }}:/work -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres run: pytest --cov=teufa tests/ - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4.0.1