Skip to content

Commit eb66dae

Browse files
committed
pytest: Don't raise FutureWarning to Error
Otherwise we can't use this experimental feature.
1 parent 875110a commit eb66dae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test_examples.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
pip install mesa --pre
4343
pip install .[test]
4444
- name: Test with pytest
45-
run: pytest -rA -Werror test_examples.py
45+
run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py
4646

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

0 commit comments

Comments
 (0)