diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5f89958..33afa7b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,8 +70,23 @@ jobs: --verbose \ --color=yes \ --cov=src \ + --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: >- @@ -82,6 +97,7 @@ jobs: with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} + verbose: true - name: Create/Update GitHub Release if: >-