We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8acc642 + ab6c276 commit 06f7f5fCopy full SHA for 06f7f5f
.github/workflows/build.yaml
@@ -29,3 +29,8 @@ jobs:
29
30
- name: Run tox
31
run: tox
32
+
33
+ - name: Upload coverage reports to Codecov
34
+ uses: codecov/codecov-action@v4.0.1
35
+ with:
36
+ token: ${{ secrets.CODECOV_TOKEN }}
Makefile
@@ -19,4 +19,4 @@ test: ## Run unittests with poetry
19
poetry run pytest test_project
20
21
test/cov: ## Run code coverage tests coverage with poetry
22
- poetry run pytest test_project --cov=drf_simple_api_errors
+ poetry run pytest test_project --cov=drf_simple_api_errors --cov-report xml:coverage.xml
tox.ini
@@ -16,4 +16,4 @@ deps =
16
commands =
17
make install
18
make lint
- make test
+ make test/cov
0 commit comments