Skip to content
Open
Show file tree
Hide file tree
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
8 changes: 7 additions & 1 deletion .github/workflows/test_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,10 @@ jobs:
pip install .[test]
pip install -U "mesa[network] @ git+https://github.com/mesa/mesa@main"
- name: Test with pytest
run: pytest -rA -Werror -Wdefault::PendingDeprecationWarning test_examples.py
run: pytest -rA -Werror -Wdefault::PendingDeprecationWarning --cov=examples --cov-report=xml --cov-report=term test_examples.py
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
fail_ci_if_error: false

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ readme = "README.md"
test = [
"pytest",
"scipy",
"pytest-cov",
]
test_gis = [
"pytest",
Expand Down