Skip to content

chore: Update lint.yaml to include Python environment setup and pre-c… #127

chore: Update lint.yaml to include Python environment setup and pre-c…

chore: Update lint.yaml to include Python environment setup and pre-c… #127

name: MkDoxy build all supported Python versions
on: [push, pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest] # windows-latest, macos-latest requires doxygen to be installed manually
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
sudo apt-get install doxygen
- name: Build docs
run: mkdocs build --clean --verbose