From 4b82d8dd58f682b6650514bb418bfd1066a1274d Mon Sep 17 00:00:00 2001 From: joseph-sentry <joseph.sawaya@sentry.io> Date: Mon, 29 Jan 2024 17:25:36 -0500 Subject: [PATCH] build: upload test results Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io> --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17ea81c3..fb55e118 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,11 +76,12 @@ jobs: pip install -r tests/requirements.txt - name: Test with pytest run: | - pytest --cov + pytest --cov --junitxml=junit.xml - name: Dogfooding codecov-cli if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }} run: | codecovcli do-upload --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}} + codecovcli do-upload --report-type test_results --fail-on-error -t ${{ secrets.CODECOV_TOKEN }} --plugin pycoverage --flag python${{matrix.python-version}} static-analysis: runs-on: ubuntu-latest