Skip to content

Use "PEP 604 – Allow writing union types as X | Y" #149

Use "PEP 604 – Allow writing union types as X | Y"

Use "PEP 604 – Allow writing union types as X | Y" #149

name: Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
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 dependencies
run: |
python -m pip install --upgrade pip
pip install -r test_requirements.txt
- name: Lint with flake8
run: |
make lint
- name: Check typing with mypy
run: |
make typing
- name: Test with pytest
run: |
make test