Skip to content

Merge pull request #69 from pllim/action-ver-hash #171

Merge pull request #69 from pllim/action-ver-hash

Merge pull request #69 from pllim/action-ver-hash #171

Workflow file for this run

name: Run unit tests
on:
pull_request:
push:
branches: [ main ]
tags:
workflow_dispatch:
schedule:
# Run every Sunday at 03:53 UTC
- cron: 53 2 * * 0
jobs:
tests:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-latest
python-version: 3.7
toxenv: py38-test-sphinx30
- os: ubuntu-latest
python-version: 3.8
toxenv: py38-test-sphinx35
- os: ubuntu-latest
python-version: 3.9
toxenv: py39-test-sphinx40
- os: ubuntu-latest
python-version: "3.10"
toxenv: py310-test-sphinx50
- os: ubuntu-latest
python-version: "3.11"
toxenv: py311-test-sphinx60
- os: ubuntu-latest
python-version: "3.11"
toxenv: py311-test-v2deps-sphinx70
- os: ubuntu-latest
python-version: "3.12"
toxenv: py312-test-sphinx80
- os: macos-latest
python-version: "3.11"
toxenv: py311-test-sphinxdev
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install Tox
run: python -m pip install tox
- name: Run Tox
run: tox -v -e ${{ matrix.toxenv }}