Skip to content

Merge pull request #9 from mjmikulski/new-type-hints #26

Merge pull request #9 from mjmikulski/new-type-hints

Merge pull request #9 from mjmikulski/new-type-hints #26

Workflow file for this run

name: horology tests
on: [push]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.10", "3.11", "3.12"]
env:
POETRY_VIRTUALENVS_CREATE: false
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: |
pip install poetry
- name: Install dependencies
run: |
poetry install --no-root
- name: Check types
run: |
mypy .
- name: Test with pytest
run: |
pytest