Skip to content

Commit 622ac5a

Browse files
committed
Add macos mypy
1 parent 5fa9c07 commit 622ac5a

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/macos.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,14 @@ jobs:
129129
pip install pyamg
130130
pip install scikit-build-core
131131
python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
132-
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" './[test]'
132+
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" './[test,mypy]'
133+
134+
- name: Run mypy (petsc4py + superlu_dist)
135+
run: |
136+
mypy --config-file python/pyproject.toml -p dolfinx
137+
mypy -p dolfinx
138+
mypy python/test
139+
mypy python/demo
133140
134141
- name: Basic test
135142
run: |

0 commit comments

Comments
 (0)