Skip to content

Add Codecov Test Analytics #2759

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/build_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading