Skip to content

Commit 235a99f

Browse files
author
88d52bdba0366127fffca9dfa93895
committed
fix coverage latest
1 parent 9790d3b commit 235a99f

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,13 @@ jobs:
3333
pip install pytest pytest-cov
3434
pytest ./tests --doctest-modules --cov-report=html
3535
- name: Generate coverage report
36-
with:
37-
python-version: "3.11"
36+
if: ${{ matrix.python-version == "3.11" }}
3837
run: |
3938
pip install pytest
4039
pip install pytest-cov
4140
pytest --cov=./ --cov-report=xml
4241
- name: Upload coverage to Codecov
43-
with:
44-
python-version: "3.11"
42+
if: ${{ matrix.python-version == "3.11" }}
4543
uses: codecov/codecov-action@v3
4644
with:
4745
files: ./coverage.xml

0 commit comments

Comments
 (0)