Convert to using reusable workflows from the tektronix/python-package-ci-cd
repo
#917
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test docs | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test-docs: | |
uses: tektronix/python-package-ci-cd/.github/workflows/[email protected] | |
with: | |
node-version: 20 # The node version needs to stay in sync with .readthedocs.yml | |
python-version: '3.11' # This needs to stay in sync with .readthedocs.yml and the tox config in pyproject.toml | |
tox-env-array: '["docs", "doctests"]' |