From d1bd48013fd8e099e646dc471fcb572685096235 Mon Sep 17 00:00:00 2001 From: shri Date: Thu, 12 Dec 2024 11:19:06 +0100 Subject: [PATCH] Copy .env.testing to .env for tests --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4cbbe00..985b6b6 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -64,11 +64,11 @@ jobs: - name: Install dependencies run: pdm install -G:all - - name: Install dotenv - run: pdm add dotenv-cli + - name: Copy .env.testing to .env + run: cp .env.testing .env - name: Test with Coverage - run: pdm run dotenv -f .env.testing run pytest tests --cov=app --cov-report=xml + run: pdm run pytest tests --cov=app --cov-report=xml - if: matrix.python-version == '3.11' uses: actions/upload-artifact@v4