We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 539c830 commit 1d6f453Copy full SHA for 1d6f453
.github/workflows/test.yml
@@ -26,10 +26,9 @@ jobs:
26
27
- name: Run tests
28
run: |
29
- pytest --cov=aireview --cov-report=xml
+ pytest --cov=aireview --cov-branch --cov-report=xml
30
31
- name: Upload coverage to Codecov
32
- uses: codecov/codecov-action@v3
+ uses: codecov/codecov-action@v5
33
with:
34
- file: ./coverage.xml
35
- fail_ci_if_error: true
+ token: ${{ secrets.CODECOV_TOKEN }}
pyproject.toml
@@ -1,3 +1,8 @@
1
[build-system]
2
requires = ["setuptools>=45", "wheel", "build"]
3
-build-backend = "setuptools.build_meta"
+build-backend = "setuptools.build_meta"
4
+
5
+[tool.pytest.ini_options]
6
+addopts = "--cov=aireview --cov-branch --cov-report=xml"
7
+testpaths = ["tests"]
8
+python_files = "test_*.py"
0 commit comments