Prevent usage of adaptive steppers with stochastic PDEs (#633) #1237
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Static type checking" | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
pyversion: ['3.9', '3.12'] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.pyversion }} | |
- name: Install dependencies | |
# install all requirements | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r tests/requirements.txt | |
pip install -r tests/requirements_full.txt | |
pip install types-PyYAML | |
- name: Test types with mypy | |
continue-on-error: true | |
run: | | |
python -m mypy --config-file pyproject.toml --pretty --package pde |