Skip to content
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

Add test script for GIS examples and run that in CI #241

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

EwoutH
Copy link
Member

@EwoutH EwoutH commented Sep 2, 2024

This PR adds a script to test all the GIS examples from the mesa-examples gis folder with pytest. It also adds a GitHub Actions CI workflow that runs that script continuously in CI.

  • tests/test_GIS_examples.py, lend from Mesa itself.
  • .github/workflows/examples.yml, also lend from Mesa
  • pyproject.toml: Adds optional dependencies to test the examples.

Ref:

@EwoutH
Copy link
Member Author

EwoutH commented Sep 3, 2024

Yes! Now also green!

@EwoutH
Copy link
Member Author

EwoutH commented Sep 3, 2024

I'm merging. Any feedback is still appreciated!

@EwoutH EwoutH merged commit d8a1356 into main Sep 3, 2024
10 of 11 checks passed
@EwoutH EwoutH deleted the test_GIS_examples branch September 10, 2024 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Release notes label testing Release notes label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant