From 044fceba3943cb24aa4d61e9234343295c29bf74 Mon Sep 17 00:00:00 2001 From: Bernardo Donadio Date: Sun, 2 Nov 2025 11:11:30 -0300 Subject: [PATCH] ci: add Codecov test results upload to enable Test Analytics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CI workflow was using codecov/codecov-action@v4 for coverage reporting but was not uploading test results to Codecov Test Analytics. This change: - Adds codecov/test-results-action@v1 to upload junit.xml to Test Analytics - Removes junit.xml from codecov-action files parameter (coverage only) - Maintains existing dorny/test-reporter for GitHub Checks integration This enables Codecov Test Analytics features including test failure tracking, flaky test detection, and test performance metrics. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .github/workflows/ci.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 19a4d1a..398a99f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -215,12 +215,23 @@ jobs: if: always() && github.actor != 'dependabot[bot]' with: token: ${{ secrets.CODECOV_TOKEN }} - files: ./coverage.xml,./junit.xml + files: ./coverage.xml flags: unittests name: codecov-devrelay fail_ci_if_error: true verbose: true + - name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + if: always() && github.actor != 'dependabot[bot]' + with: + token: ${{ secrets.CODECOV_TOKEN }} + files: ./junit.xml + flags: unittests + name: test-results-devrelay + fail_ci_if_error: true + verbose: true + - name: Publish test results uses: dorny/test-reporter@d61b558e8df85cb60d09ca3e5b09653b4477cea7 # v1 if: always() && github.actor != 'dependabot[bot]'