From c3b6d8ea70c56e4fca0318ee6c8b814c0d56b2ad Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Sat, 7 Sep 2024 21:55:24 +0200 Subject: [PATCH] ci: use codecov/test-results-action (#11268) * ci: use codecov/test-results-action Signed-off-by: Jens Langhammer * specify xml file Signed-off-by: Jens Langhammer --------- Signed-off-by: Jens Langhammer --- .github/workflows/ci-main.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/ci-main.yml b/.github/workflows/ci-main.yml index 3a87eab950..d19c1f910e 100644 --- a/.github/workflows/ci-main.yml +++ b/.github/workflows/ci-main.yml @@ -120,6 +120,12 @@ jobs: with: flags: unit token: ${{ secrets.CODECOV_TOKEN }} + - if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + flags: unit + file: unittest.xml + token: ${{ secrets.CODECOV_TOKEN }} test-integration: runs-on: ubuntu-latest timeout-minutes: 30 @@ -138,6 +144,12 @@ jobs: with: flags: integration token: ${{ secrets.CODECOV_TOKEN }} + - if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + flags: integration + file: unittest.xml + token: ${{ secrets.CODECOV_TOKEN }} test-e2e: name: test-e2e (${{ matrix.job.name }}) runs-on: ubuntu-latest @@ -190,6 +202,12 @@ jobs: with: flags: e2e token: ${{ secrets.CODECOV_TOKEN }} + - if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + flags: e2e + file: unittest.xml + token: ${{ secrets.CODECOV_TOKEN }} ci-core-mark: needs: - lint