-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (41 loc) · 950 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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 }}