From 961eb1526465abdb9249ed12246ddcd045466a58 Mon Sep 17 00:00:00 2001 From: katia-sentry Date: Wed, 23 Apr 2025 11:21:31 -0400 Subject: [PATCH] setup codecov test analytics --- .github/workflows/build_lint.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_lint.yml b/.github/workflows/build_lint.yml index eeb08460ae9..88efbf6dac5 100644 --- a/.github/workflows/build_lint.yml +++ b/.github/workflows/build_lint.yml @@ -54,13 +54,18 @@ jobs: - name: Install Mesa and dependencies run: uv pip install --system .[dev] - name: Test with pytest - run: pytest --durations=10 --cov=mesa tests/ --cov-report=xml + run: pytest --durations=10 --cov=mesa tests/ --cov-report=xml --junitxml=test-results.xml - if: matrix.os == 'ubuntu' name: Codecov uses: codecov/codecov-action@v5 with: fail_ci_if_error: true token: ${{ secrets.CODECOV_TOKEN }} + - if: matrix.os == 'ubuntu' + name: Upload test results to Codecov + uses: codecov/test-results-action@v1 + with: + files: test-results.xml examples: runs-on: ubuntu-latest