Skip to content

Commit

Permalink
CI: Update test_gis to use Mesa-Geo<0.9
Browse files Browse the repository at this point in the history
Mesa-Geo<0.9 has Mesa<3 defined, so this will automatically imply Mesa 2.x is used.
  • Loading branch information
EwoutH authored Sep 3, 2024
1 parent 8101ad3 commit b55c8db
Showing 1 changed file with 4 additions and 16 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/test_gis_examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,7 @@ on:
- cron: '0 6 * * 1' # Monday at 6:00 UTC

jobs:
# build-stable:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - name: Set up Python
# uses: actions/setup-python@v5
# with:
# python-version: "3.12"
# - name: Install dependencies
# run: pip install mesa pytest
# - name: Test with pytest
# run: pytest -rA -Werror test_examples.py

build-pre:
build-08-stable:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -39,12 +26,12 @@ jobs:
python-version: "3.12"
- name: Install dependencies
run: |
pip install mesa-geo --pre
pip install "mesa-geo<0.9"
pip install .[test_gis]
- name: Test with pytest
run: pytest -rA -Werror test_gis_examples.py

build-main:
build-08-git:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -54,6 +41,7 @@ jobs:
python-version: "3.12"
- name: Install dependencies
run: |
# TODO: Update to Mesa-Geo 0.8.x-maintenance branch, once it exists
pip install -U git+https://github.com/projectmesa/mesa-geo@main#egg=mesa-geo
pip install .[test_gis]
- name: Test with pytest
Expand Down

0 comments on commit b55c8db

Please sign in to comment.