Skip to content

[pre-commit.ci] pre-commit autoupdate #83

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #83

Workflow file for this run

name: Build and test
on:
push:
branches: [ 'main' ]
pull_request:
branches: [ 'main' ]
# This allows a subsequently queued workflow run to interrupt and cancel previous runs
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
Run-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python: [ '3.8', '3.9', '3.10', '3.11' ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '${{ matrix.python }}'
architecture: 'x64'
- run: pip install -U pip wheel poetry
- run: poetry install --with dev
- run: poetry run pytest tests