Merge pull request #199 from thom311/th/render-undefined-variables #746
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: Check style, test | |
on: | |
push: | |
branches: | |
pull_request: | |
branches: | |
jobs: | |
check: | |
strategy: | |
matrix: | |
version: [ "3.11", "3.12", "3.13" ] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{matrix.version}} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements-devel.txt | |
- name: Check code formatting with Black | |
run: | | |
black --version | |
black --check --diff . | |
- name: flake8 | |
run: | | |
flake8 --version | |
flake8 | |
- name: Type check with Mypy | |
run: | | |
mypy --version | |
mypy | |
- name: Run tests with Pytest | |
run: | | |
pytest --version | |
pytest -vvv |