We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents adeaa5f + 7398886 commit e1e6508Copy full SHA for e1e6508
1 file changed
.github/workflows/test-python.yml
@@ -29,6 +29,7 @@ jobs:
29
pip install coverage
30
pip install pytest-cov
31
pip install -U ddtrace
32
+ pip install pytest pytest-cov
33
34
- name: Test with pytest and generate coverage
35
run: |
@@ -38,6 +39,13 @@ jobs:
38
39
export DD_ENV=ci
40
export DD_SERVICE=my-python-app
41
pytest --ddtrace --cov=. --cov-report=xml
42
+ pytest --cov --cov-branch --cov-report=xml
43
+
44
+ - name: Upload coverage reports to Codecov
45
+ uses: codecov/codecov-action@v5
46
+ with:
47
+ token: ${{ secrets.CODECOV_TOKEN }}
48
+ slug: nofarb/python-test
49
50
51
- name: Install datadog-ci
0 commit comments