docs: use MathJax SVG renderer for HTML equations #3331
Workflow file for this run
This file contains hidden or 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: "Pull Request" | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/pre-commit | |
| build-linux: | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 90 | |
| needs: pre-commit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: ["3.13"] | |
| name: Linux (${{ matrix.python }}) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/data-cache | |
| - uses: ./.github/actions/build | |
| with: | |
| python-version: ${{ matrix.python }} | |
| conan-args: --opNav True --mujoco True --mujocoReplay True | |
| - name: Pytest | |
| working-directory: src | |
| run: | | |
| pip install pytest-error-for-skips pytest-timeout | |
| pytest -n auto -m "not ciSkip" -rs --error-for-skips --timeout=300 --timeout-method=thread -v | |
| - name: CTest | |
| if: ${{ always() }} | |
| working-directory: dist3 | |
| run: ctest | |
| build-windows: | |
| runs-on: windows-2025 | |
| timeout-minutes: 105 | |
| needs: pre-commit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python: ["3.13"] | |
| name: Windows (${{ matrix.python }}) | |
| env: | |
| MPLBACKEND: agg | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/data-cache | |
| - uses: ./.github/actions/build | |
| with: | |
| python-version: ${{ matrix.python }} | |
| conan-args: --opNav True --mujoco True --mujocoReplay True | |
| - name: Pytest | |
| shell: pwsh | |
| working-directory: src | |
| run: | | |
| pip install pytest-error-for-skips pytest-timeout | |
| pytest -n auto -m "not ciSkip" -rs --error-for-skips --timeout=300 --timeout-method=thread -v | |
| if(($LastExitCode -ne 0) -and ($LastExitCode -ne 5)) {exit 1} | |
| - name: CTest | |
| if: ${{ always() }} | |
| shell: pwsh | |
| working-directory: dist3 | |
| run: | | |
| ctest | |
| if(($LastExitCode -ne 0) -and ($LastExitCode -ne 5)) { exit 1 } | |
| build-macos: | |
| runs-on: macos-latest | |
| timeout-minutes: 90 | |
| needs: pre-commit | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| job_suffix: [""] | |
| python: ["3.8"] | |
| pytest_flags: | |
| [ | |
| '-n auto -m "not ciSkip" -rs --error-for-skips --timeout=300 --timeout-method=thread -v', | |
| ] | |
| conan_args: ["--opNav True --mujoco True --mujocoReplay True"] | |
| include: | |
| # An extra Basilisk build to test building without visualization enabled | |
| - python: "3.13" | |
| pytest_flags: -n auto -m "not ciSkip" -rs --timeout=300 --timeout-method=thread -v | |
| conan_args: --opNav True --mujoco True --mujocoReplay True --vizInterface False | |
| job_suffix: "--vizInterface False" | |
| # Python 3.8 cannot run all tests. | |
| # TODO: Once Python 3.8 support is dropped, delete this include and exclude and remove 3.8 from the python | |
| # test matrix. | |
| - python: "3.8" | |
| pytest_flags: -n auto -m "not ciSkip" -rs --timeout=300 --timeout-method=thread -v -p no:pytest_forbid_skips | |
| exclude: | |
| - python: "3.8" | |
| pytest_flags: '-n auto -m "not ciSkip" -rs --error-for-skips --timeout=300 --timeout-method=thread -v' | |
| name: macOS (${{ matrix.python }}) ${{ matrix.job_suffix }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/data-cache | |
| - uses: ./.github/actions/build | |
| with: | |
| python-version: ${{ matrix.python }} | |
| conan-args: ${{ matrix.conan_args }} | |
| - name: Pytest | |
| working-directory: src | |
| run: | | |
| pip install pytest-error-for-skips pytest-timeout | |
| pytest ${{ matrix.pytest_flags }} | |
| - name: CTest | |
| if: ${{ always() }} | |
| working-directory: dist3 | |
| run: ctest -C Release | |
| docs: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: ./.github/actions/data-cache | |
| - name: Build Basilisk | |
| uses: ./.github/actions/build | |
| with: | |
| python-version: 3.13 | |
| conan-args: --opNav True --allOptPkg --mujoco True --mujocoReplay True | |
| - name: Build docs | |
| uses: ./.github/actions/docs |