Skip to content

Commit

Permalink
Merge pull request #133 from benjeffery/docs-action
Browse files Browse the repository at this point in the history
Build docs in CI
  • Loading branch information
benjeffery authored Apr 19, 2024
2 parents dfb3ed4 + 2df0a73 commit 90bd40a
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build Docs

on:
pull_request:
push:
branches: [main]
tags:
- '*'

jobs:
build-deploy-docs:
name: Docs
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: "3.11"
cache: 'pip'

- name: Create venv and install deps
run: |
pip install --upgrade pip wheel
pip install -r docs/requirements.txt
- name: Build Docs
run: |
make -C docs
11 changes: 10 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
bed_reader
click
cyvcf2
jupyter-book
sphinx-click
msprime
pysam
sgkit
sphinx-click
tabulate
tqdm
zarr>=2.17

0 comments on commit 90bd40a

Please sign in to comment.