From 8f9254bad5a9d613ed3c54b76b4d859f43a43ddd Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Sat, 5 Oct 2024 10:40:48 +0200 Subject: [PATCH] CI: Install Mesa with [network] extra --- .github/workflows/test_examples.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index d257eef2..7510c478 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -25,7 +25,7 @@ jobs: # with: # python-version: "3.12" # - name: Install dependencies - # run: pip install mesa pytest + # run: pip install mesa[network] pytest # - name: Test with pytest # run: pytest -rA -Werror test_examples.py @@ -39,7 +39,7 @@ jobs: python-version: "3.12" - name: Install dependencies run: | - pip install mesa --pre + pip install mesa[network] --pre pip install .[test] - name: Test with pytest run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py @@ -55,6 +55,6 @@ jobs: - name: Install dependencies run: | pip install .[test] - pip install -U git+https://github.com/projectmesa/mesa@main#egg=mesa + pip install -U git+https://github.com/projectmesa/mesa@main#egg=mesa[network] - name: Test with pytest run: pytest -rA -Werror -Wdefault::FutureWarning test_examples.py