Skip to content

Commit e0e99b8

Browse files
authored
Create build_docs.yml as a test
1 parent f74cc77 commit e0e99b8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/build_docs.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: build_docs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- 'compas-2.x-compat'
8+
pull_request:
9+
branches:
10+
- main
11+
- 'compas-2.x-compat'
12+
13+
jobs:
14+
build:
15+
name: ubuntu-py38-build_docs
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Set up Python 3.8
20+
uses: actions/setup-python@v2
21+
with:
22+
python-version: 3.8
23+
- name: Install dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
python -m pip install wheel
27+
python -m pip install cython --config-settings="--build-option=--no-cython-compile"
28+
- name: Install
29+
run: |
30+
python -m pip install --no-cache-dir -r requirements-dev.txt
31+
- name: 📃 Generate docs
32+
if: success()
33+
run: |
34+
invoke docs --check-links

0 commit comments

Comments
 (0)