Skip to content

CI: Let pytest treat warnings as errors for examples #2204

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

EwoutH
Copy link
Member

@EwoutH EwoutH commented Aug 12, 2024

When running the examples, let pytest treat warnings as errors for examples. After projectmesa/mesa-examples#153 got merged, there shouldn't be any warnings left when testing the examples.

Also print a summary of tests using the -rA flag.

When running the examples, let pytest treat warnings as errors for examples.
@EwoutH EwoutH added testing Release notes label ci Release notes label labels Aug 12, 2024
@EwoutH EwoutH marked this pull request as ready for review August 12, 2024 09:44
@rht rht merged commit 97d6a4f into main Aug 12, 2024
8 of 9 checks passed
@rht rht deleted the pytest_examples_werror branch August 12, 2024 10:26
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
ci Release notes label testing Release notes label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants