Add stable workflow that should be customized for latest non-api-breaking change #34
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: Check formatting | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
env: | |
DEB_PYTHON_INSTALL_LAYOUT: deb_system | |
jobs: | |
check-code: | |
runs-on: ubuntu-22.04 | |
container: ghcr.io/fenics/dolfinx/dolfinx:nightly | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install code | |
run: python3 -m pip install .[test] | |
- name: Flake8 code | |
run: python3 -m flake8 . | |
- name: Mypy check | |
run: python3 -m mypy . |