Skip to content

try resolving both

try resolving both #37

Workflow file for this run

name: Tests
on:
push:
paths:
- "wizwad/**"
- ".github/workflows/tests.yml"
pull_request:
paths:
- "wizwad/**"
- ".github/workflows/tests.yml"
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11" ]
runner: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{matrix.runner}}
name: ${{ matrix.runner }} ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up Poetry
uses: abatilo/actions-poetry@v2
with:
poetry-version: "1.4.1"
- name: Install dependencies
run: poetry install
- name: Run tests
run: poetry run pytest
- name: Run mypy
run: poetry run mypy .