We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29d8a2 commit 09d6293Copy full SHA for 09d6293
2 files changed
.github/workflows/ci.yml
@@ -10,6 +10,9 @@ jobs:
10
run-ci:
11
runs-on: ubuntu-latest
12
13
+ permissions:
14
+ id-token: write
15
+
16
steps:
17
- uses: actions/checkout@v3
18
@@ -26,3 +29,11 @@ jobs:
26
29
- name: Run tests
27
30
run: |
28
31
tox
32
33
+ - name: Upload coverage to Codecov
34
+ uses: codecov/codecov-action@v5
35
+ with:
36
+ use_oidc: true
37
+ flags: unit-tests
38
+ files: coverage.xml
39
+ fail_ci_if_error: false
tox.ini
@@ -8,7 +8,7 @@ deps = poetry
8
skip_install = True
9
commands =
poetry install -v
- poetry run py.test -v --cov repo_autoindex --cov-fail-under 100 --cov-report html {posargs}
+ poetry run py.test -v --cov repo_autoindex --cov-fail-under 100 --cov-report html --cov-report xml {posargs}
[testenv:mypy]
0 commit comments