Skip to content

Commit e1e6508

Browse files
authored
Merge pull request #19 from nofarb/nofarb-patch-14
codcov
2 parents adeaa5f + 7398886 commit e1e6508

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/test-python.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
pip install coverage
3030
pip install pytest-cov
3131
pip install -U ddtrace
32+
pip install pytest pytest-cov
3233
3334
- name: Test with pytest and generate coverage
3435
run: |
@@ -38,6 +39,13 @@ jobs:
3839
export DD_ENV=ci
3940
export DD_SERVICE=my-python-app
4041
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
4149

4250

4351
- name: Install datadog-ci

0 commit comments

Comments
 (0)