Skip to content

ci: pytest and fix tests #1

ci: pytest and fix tests

ci: pytest and fix tests #1

Workflow file for this run

on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
name: Run tests
concurrency:
group: check-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: test with ${{ matrix.py }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
py:
- "3.12.1"
- "3.12.3"
os:
- ubuntu-latest
- macos-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python for test ${{ matrix.py }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.py }}
- name: Install poetry
run: |
python -m pip install poetry
poetry install
- name: Run tests
run: poetry run pytest -vv