Skip to content

Merge pull request #505 from moorepants/update-benchmark #117

Merge pull request #505 from moorepants/update-benchmark

Merge pull request #505 from moorepants/update-benchmark #117

Workflow file for this run

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 ..