diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8a3160..bdb1bc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -74,4 +74,4 @@ jobs: - uses: codecov/codecov-action@v5 with: token: ${{ secrets.CODECOV_TOKEN }} - flags: selenium + flags: selenium-${{ matrix.os }} diff --git a/pyproject.toml b/pyproject.toml index 5add2e4..84176fb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,12 +65,19 @@ write_to = "s3file/_version.py" [tool.pytest.ini_options] minversion = "6.0" -addopts = "--cov=s3file --tb=short -rxs" +addopts = "--cov --cov-report=xml --cov-report=term --tb=short -rxs" testpaths = [ "tests", ] DJANGO_SETTINGS_MODULE = "tests.testapp.settings" +[tool.coverage.run] +source = ["s3file"] + +[tool.coverage.report] +show_missing = true +skip_covered = true + [tool.ruff] src = ["s3file", "tests"] line-length = 88