Skip to content

Commit

Permalink
Copy .env.testing to .env for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shrir committed Dec 12, 2024
1 parent 83c5668 commit d1bd480
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1bd480

Please sign in to comment.