Skip to content

Commit 90bd40a

Browse files
authored
Merge pull request #133 from benjeffery/docs-action
Build docs in CI
2 parents dfb3ed4 + 2df0a73 commit 90bd40a

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

.github/workflows/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+
pull_request:
5+
push:
6+
branches: [main]
7+
tags:
8+
- '*'
9+
10+
jobs:
11+
build-deploy-docs:
12+
name: Docs
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Cancel Previous Runs
16+
uses: styfle/cancel-workflow-action@0.12.1
17+
with:
18+
access_token: ${{ github.token }}
19+
20+
- uses: actions/checkout@v3
21+
22+
- uses: actions/setup-python@v4
23+
with:
24+
python-version: "3.11"
25+
cache: 'pip'
26+
27+
- name: Create venv and install deps
28+
run: |
29+
pip install --upgrade pip wheel
30+
pip install -r docs/requirements.txt
31+
32+
- name: Build Docs
33+
run: |
34+
make -C docs

docs/requirements.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1+
bed_reader
2+
click
3+
cyvcf2
14
jupyter-book
2-
sphinx-click
5+
msprime
6+
pysam
7+
sgkit
8+
sphinx-click
9+
tabulate
10+
tqdm
11+
zarr>=2.17

0 commit comments

Comments
 (0)