Skip to content

Test GIS examples in CI #1

Test GIS examples in CI

Test GIS examples in CI #1

Workflow file for this run

name: Test GIS examples

Check failure on line 1 in .github/workflows/examples.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/examples.yml

Invalid workflow file

`examples` is not a valid event name
on:
push:
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:
schedule:
- cron: '0 6 * * 1'
examples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'pip'
- name: Install uv
run: pip install uv
- name: Install Mesa
run: uv pip install --system .[examples]
- name: Checkout mesa-examples
uses: actions/checkout@v4
with:
repository: projectmesa/mesa-examples
path: mesa-examples
- name: Test examples
run: |
cd mesa-examples
pytest -rA -Werror -Wdefault::FutureWarning test_gis_examples.py