diff --git a/.github/codecov.yml b/.github/codecov.yml new file mode 100644 index 0000000000..c3718ef685 --- /dev/null +++ b/.github/codecov.yml @@ -0,0 +1,2 @@ +ignore: + - "**/*.txt" diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index f294af7101..3df4e12271 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -60,3 +60,10 @@ jobs: with: fail_ci_if_error: false token: ${{ secrets.CODECOV_TOKEN }} + - name: Upload test results to Codecov + if: ${{ github.event_name == 'schedule' || (github.event_name == 'push') || github.event_name == 'workflow_dispatch'}} + uses: codecov/test-results-action@v1 + with: + fail_ci_if_error: false + files: ./target/surefire-reports/TEST* + token: ${{ secrets.CODECOV_TOKEN }}