Skip to content

Commit

Permalink
ci: enable codecov reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward-Jackson-ONS committed Aug 19, 2024
1 parent b930b94 commit 8dff7f3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ jobs:
python -m ruff check .
python -m ruff format --check .
# - name: Generate Report
# run: |
# coverage run -m pytest
# coverage xml

# - name: Upload Coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# file: ./coverage.xml
# flags: unittests
# verbose: true
# token: ${{secrets.CODECOV_TOKEN}}
- name: Generate Report
run: |
coverage run -m pytest
coverage xml
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
flags: unittests
verbose: true
token: ${{secrets.CODECOV_TOKEN}}

0 comments on commit 8dff7f3

Please sign in to comment.