Skip to content

Begin adding documentation #59

Begin adding documentation

Begin adding documentation #59

Workflow file for this run

name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
name: Run tests
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
include:
- {python-version: '3.8', toxenv: 'py38'}
- {python-version: '3.9', toxenv: 'py39'}
- {python-version: '3.10', toxenv: 'py310'}
- {python-version: '3.11', toxenv: 'py311'}
- {python-version: '3.12', toxenv: 'py312'}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Run tests with tox
run: tox -e ${{ matrix.toxenv }}