Skip to content

lint

lint #7

Workflow file for this run

name: ci
env:
CMAKE_BUILD_TYPE: Release
HOMEBREW_NO_INSTALL_CLEANUP: 1
CTEST_NO_TESTS_ACTION: error
on:
push:
paths:
- "**/*.f"
- "**/*.f90"
- "**/*.py"
- "**/*.m"
- "**/meson.build"
- "**/CMakeLists.txt"
- "**.cmake"
- ".github/workflows/ci.yml"
jobs:
cmake:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python: ["3.9", "3.11"]
env:
FC: gfortran-12
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/checkout@v3
- run: pip install .[tests,lint]
- run: flake8
- run: mypy
- run: pytest