Skip to content

Commit c3b94fe

Browse files
committed
Update GitHub Actions workflow to enhance coverage reporting for Python 3.12
1 parent 332f096 commit c3b94fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=examples_old
4242
4343
- name: Run tests with coverage
44-
if: matrix.python-version == '3.12'
45-
run: pytest --cov essos
44+
run: |
45+
pytest --cov-branch --cov-report=xml --cov=essos
4646
4747
- name: Upload coverage reports to Codecov
48-
if: github.repository_owner == 'uwplasma' && matrix.python-version == '3.12'
4948
uses: codecov/codecov-action@v5
5049
with:
51-
token: ${{ secrets.CODECOV_TOKEN }}
50+
token: ${{ secrets.CODECOV_TOKEN }}
51+
slug: uwplasma/ESSOS

0 commit comments

Comments
 (0)