mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
CI: Build document on GitHub Actions
This commit is contained in:
21
.github/workflows/builddoc.yml
vendored
Normal file
21
.github/workflows/builddoc.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Build document
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
with:
|
||||
python-version: 3.6
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y graphviz
|
||||
pip install -U tox
|
||||
- name: Run Tox
|
||||
run: tox -e docs
|
||||
Reference in New Issue
Block a user