Fix doc CI build #18
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: CI testing | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- main | |
- release-candidate-* | |
tags: | |
- v* | |
workflow_dispatch: | |
inputs: | |
debug_enabled: | |
description: Run the build with SSH debugging enabled | |
required: false | |
default: false | |
defaults: | |
run: | |
shell: bash -el {0} | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
strategy: | |
matrix: | |
include: | |
- script: static | |
- script: docs | |
env: | |
GH_TOKEN: ${{ secrets.PUBLIC_GH_TOKEN }} | |
steps: | |
- uses: nengo/nengo-bones/actions/setup@main | |
with: | |
python-version: "3.9" | |
- name: Install pandoc | |
if: ${{ matrix.script == 'docs' }} | |
run: | | |
micromamba install pandoc | |
- uses: nengo/nengo-bones/actions/generate-and-check@main | |
- uses: nengo/nengo-bones/actions/run-script@main | |
with: | |
name: ${{ matrix.script }} |