Skip to content

Commit

Permalink
pytest: Don't raise FutureWarning to Error
Browse files Browse the repository at this point in the history
Otherwise we can't use this experimental feature.
  • Loading branch information
EwoutH committed Aug 29, 2024
1 parent af7309c commit 0a36938
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
pip install mesa --pre
pip install .[test]
- name: Test with pytest
run: pytest -rA -Werror test_examples.py
run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py

build-main:
runs-on: ubuntu-latest
Expand All @@ -57,4 +57,4 @@ jobs:
pip install .[test]
pip install -U git+https://github.com/projectmesa/mesa@main#egg=mesa
- name: Test with pytest
run: pytest -rA -Werror test_examples.py
run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py

0 comments on commit 0a36938

Please sign in to comment.