diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9178fd03..ea4aa022 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,9 +17,12 @@ jobs: - name: Run tests and collect coverage run: pytest --cov app --junitxml=testresults.xml + - name: cat testresults.xml + run: cat testresults.xml + - name: Install CLI run: pip install --no-cache-dir git+https://github.com/codecov/codecov-cli.git@joseph/test-results-staging - name: Upload coverage to Codecov - run: codecovcli -v -u ${{ secrets.CODECOV_STAGING_API_URL }} do-upload --report-type test_results --file testresults.junit.xml + run: codecovcli -v -u ${{ secrets.CODECOV_STAGING_API_URL }} do-upload --report-type test_results --file testresults.xml env: CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN_STAGING }}