Skip to content

test

test #204

Workflow file for this run

name: test
on:
push:
branches: [ main ]
pull_request:
schedule:
- cron: '0 0 * * 0'
jobs:
test:
strategy:
fail-fast: false # don't cancel other matrix jobs when one fails
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[test]
- name: Run tests
run: |
pytest