Fix typehinting #87
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
pull_request: | |
jobs: | |
tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
python-version: | |
- '3.7' | |
- '3.8' | |
- '3.9' | |
- '3.10' | |
- '3.11' | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Pip upgrade | |
run: python -m pip install --upgrade pip | |
- name: Poetry install | |
run: pip install poetry | |
- name: Install dependencies | |
run: python -m poetry install --with dev | |
- name: Build | |
run: python -m poetry run python setup.py develop | |
- name: CD tests | |
run: cd tests | |
- name: Run tests | |
run: python -m poetry run python -m pytest |