mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
update workflow
This commit is contained in:
parent
c39d208ff0
commit
5de62edfb8
2 changed files with 30 additions and 1 deletions
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
|
@ -3,7 +3,7 @@ name: docs
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'docs/'
|
- 'docs/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
|
|
29
.github/workflows/docs_test.yml
vendored
Normal file
29
.github/workflows/docs_test.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
name: docs_test
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'docs/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
docs_test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
name: Test document for pull requests
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@master
|
||||||
|
|
||||||
|
- name: Install sphinx and manim env
|
||||||
|
run: |
|
||||||
|
pip3 install --upgrade pip
|
||||||
|
sudo apt install python3-setuptools
|
||||||
|
pip3 install -r docs/requirements.txt
|
||||||
|
pip3 install -r requirements.txt
|
||||||
|
|
||||||
|
- name: Build document with Sphinx
|
||||||
|
run: |
|
||||||
|
cd docs
|
||||||
|
export PATH="$PATH:/home/runner/.local/bin"
|
||||||
|
export SPHINXBUILD="python3 -m sphinx"
|
||||||
|
make html
|
Loading…
Add table
Reference in a new issue