Skip to content

Commit 52cd30b

Browse files
committed
Fix Codecov reporting
1 parent e5347bc commit 52cd30b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ jobs:
7474
- uses: codecov/codecov-action@v5
7575
with:
7676
token: ${{ secrets.CODECOV_TOKEN }}
77-
flags: selenium
77+
flags: selenium-${{ matrix.os }}

pyproject.toml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,19 @@ write_to = "s3file/_version.py"
6565

6666
[tool.pytest.ini_options]
6767
minversion = "6.0"
68-
addopts = "--cov=s3file --tb=short -rxs"
68+
addopts = "--cov --cov-report=xml --cov-report=term --tb=short -rxs"
6969
testpaths = [
7070
"tests",
7171
]
7272
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
7373

74+
[tool.coverage.run]
75+
source = ["s3file"]
76+
77+
[tool.coverage.report]
78+
show_missing = true
79+
skip_covered = true
80+
7481
[tool.ruff]
7582
src = ["s3file", "tests"]
7683
line-length = 88

0 commit comments

Comments
 (0)