Skip to content

Commit

Permalink
ignore version file on pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
jhdark committed Oct 11, 2023
1 parent e4ce19f commit 1d1a4c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ jobs:
- name: Run tests
run: |
python3 -m pytest test/ --cov festim --cov-report xml --cov-report term
python3 -m pytest test/ --ignore=festim/_version.py --cov festim --cov-report xml --cov-report term
- name: Upload to codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml,!./festim/_version.py
files: ./coverage.xml

0 comments on commit 1d1a4c4

Please sign in to comment.