Skip to content

fix: test

fix: test #3

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ macos-latest, ubuntu-latest ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.9-v7.x"]
include:
- python-version: pypy-3.9-v7.x
py: pypy3
steps:
- uses: actions/checkout@v4
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade hatch
- name: Run tests
run: |
hatch run +py=${{ matrix.py || matrix.python-version }} cov
shell: bash