Skip to content

[pre-commit.ci] pre-commit autoupdate #344

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #344

Workflow file for this run

---
name: Test documentation
env:
CI_FORCE_COLORS_POETRY: --ansi
CI_FORCE_COLORS_SPHINX: --color
on: # yamllint disable-line rule:truthy
workflow_dispatch:
push:
tags:
- "!*"
branches:
- main
- "test-me-*"
pull_request:
branches:
- "**"
jobs:
build:
name: Tests on ${{ matrix.os }} with default python
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Display Python version
run: python --version
- name: Upgrade pip
run: python -m pip install --upgrade pip
- name: Install tox
run: python -m pip install --upgrade tox
- name: Run tests with tox except linkcheck and spelling
if: runner.os != 'Linux'
run: tox -m docs
- name: Run all tests with tox
if: runner.os == 'Linux'
run: tox -m docs-full