Skip to content

GitHub Actions fixes, Python versions supported & OS's tested on #107

GitHub Actions fixes, Python versions supported & OS's tested on

GitHub Actions fixes, Python versions supported & OS's tested on #107

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ubuntu-latest

Check failure on line 9 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 13): Unexpected value 'ubuntu-latest'
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13']
myst-parser-version: [ '<0.18.0', '>=0.18.0' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: pip install .[test]
- run: pip install "myst-parser${{ matrix.myst-parser-version }}"
# Run pytest
- run: pytest -vv sphinxcontrib
# Also try building the docs in the docs directory
- run: pip install sphinx_rtd_theme
- run: cd docs && make dirhtml