Skip to content

Commit 33f37c7

Browse files
committed
add codecov
1 parent e265659 commit 33f37c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pytest-cov.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ jobs:
3535
- name: Install dependencies and library
3636
run: poetry install
3737
- name: Run tests with coverage
38-
run: poetry run pytest --cov=${{ matrix.lib }} --cov-report=term --cov-report=xml
38+
run: poetry run pytest --cov=${{ matrix.lib }} --cov-report=term --cov-report=xml:../coverage-${{ matrix.lib }}.xml
3939
- name: Upload coverage to Codecov
4040
uses: codecov/codecov-action@v5
4141
with:
4242
token: ${{ secrets.CODECOV_TOKEN }}
43-
files: ./*/coverage.xml
43+
files: ./coverage-*.xml

0 commit comments

Comments
 (0)