Merge pull request #505 from moorepants/update-benchmark #117
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: docs | |
on: [push, pull_request] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
build: | |
name: Build and generate documentation | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.12"] | |
defaults: | |
run: | |
shell: bash -el {0} | |
steps: | |
- name: Checkout CyIpopt | |
uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v3 | |
with: | |
auto-update-conda: true | |
activate-environment: test-environment | |
python-version: ${{ matrix.python-version }} | |
channels: conda-forge | |
- name: Install basic dependencies | |
run: conda install -q -y cython jupyter_sphinx matplotlib numpy numpydoc pythreejs sphinx sympy scipy | |
- name: Test building documentation | |
run: cd docs && make clean && make html && cd .. |