Skip to content

Update pytest requirement from <8,>=6 to >=6,<9 #49

Update pytest requirement from <8,>=6 to >=6,<9

Update pytest requirement from <8,>=6 to >=6,<9 #49

Workflow file for this run

name: Test
on: [push, pull_request]
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install '.[tests]'
- name: Run tests
run: |
pytest .
mypy:
name: MyPy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install dependencies
run: |
pip install '.[tests]'
- name: Run MyPy
run: |
mypy . --exclude build --exclude setup.py