Skip to content

Commit 52642a0

Browse files
build: upload test results (#363)
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
1 parent 5d309ec commit 52642a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ jobs:
7676
pip install -r tests/requirements.txt
7777
- name: Test with pytest
7878
run: |
79-
pytest --cov
79+
pytest --cov --junitxml=junit.xml
8080
- name: Dogfooding codecov-cli
8181
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
8282
run: |
8383
codecovcli do-upload --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}}
84+
codecovcli do-upload --report-type test_results --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}}
8485
8586
static-analysis:
8687
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)