Skip to content

Add testing workflow #435

Add testing workflow

Add testing workflow #435

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Workflow:
runs-on: ${{ matrix.os }}
strategy:
matrix:
# Select the Python versions to test against
os: ["ubuntu-latest", "macos-latest"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
name: ${{ matrix.os }} with Python ${{ matrix.python-version }}
steps:
- name: Clone the reference repository
uses: actions/[email protected]
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -e '.[dev]'
- name: Run tests
run: pytest