diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52b3b15..430b4cc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,8 +48,23 @@ jobs: --verbose \ --color=yes \ --cov=action \ + --junitxml=junit.xml \ + -o junit_family=legacy \ tests + - name: Upload test results to Codecov + # any except canceled or skipped + if: >- + always() && + (steps.test.outcome == 'success' || steps.test.outcome == 'failure') && + startsWith(github.repository, 'LizardByte/') + uses: codecov/test-results-action@v1 + with: + fail_ci_if_error: true + files: junit.xml + token: ${{ secrets.CODECOV_TOKEN }} + verbose: true + - name: Upload coverage # any except canceled or skipped if: >- @@ -60,6 +75,7 @@ jobs: with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} + verbose: true action: runs-on: ubuntu-latest