Skip to content

Commit f922f7c

Browse files
committed
ci: Add examples testing
1 parent 385b804 commit f922f7c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/build_lint.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,23 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24+
build:
25+
runs-on: ${{ matrix.os }}-latest
26+
strategy:
27+
matrix:
28+
os: [ubuntu]
29+
python-version: ["3.12"]
30+
steps:
31+
- uses: actions/checkout@v4
32+
- name: Set up Python ${{ matrix.python-version }}
33+
uses: actions/setup-python@v5
34+
with:
35+
python-version: ${{ matrix.python-version }}
36+
- name: Install dependencies
37+
run: pip install mesa pytest
38+
- name: Test with pytest
39+
run: pytest test_examples.py
40+
2441
lint-ruff:
2542
runs-on: ubuntu-latest
2643
steps:

0 commit comments

Comments
 (0)