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