Skip to content

Split out CI and coverage actions #6

Split out CI and coverage actions

Split out CI and coverage actions #6

Workflow file for this run

name: "CI"
permissions: "read-all"
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
defaults:
run:
shell: "bash"
env:
FORCE_COLOR: "1"
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
name: "Test (${{ matrix.python-version }})"
runs-on: "ubuntu-latest"
continue-on-error: false
steps:
- name: "Checkout repository"
uses: "actions/checkout@v4"
- name: "Setup Python"
uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Run tests"
run: |
python -m pip install poetry
poetry install --with test
poetry run pytest