Skip to content

fast tests

fast tests #161

Workflow file for this run

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