fast tests #161
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: fast tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- '8.*.x' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
runs-on: 'ubuntu-latest' | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
python-version: [3.9, 3.12] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# note: exclude python 3.10+ from mypy checks as these produce false | |
# positives in installed libraries for python 3.7 | |
- name: Configure Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install | |
run: | | |
pip install -e ."[tests]" | |
- name: Flake8 | |
run: flake8 -v |