Show More
@@ -0,0 +1,26 b'' | |||
|
1 | name: Run tests | |
|
2 | ||
|
3 | on: [push, pull_request] | |
|
4 | ||
|
5 | jobs: | |
|
6 | test: | |
|
7 | runs-on: ubuntu-latest | |
|
8 | ||
|
9 | steps: | |
|
10 | - uses: actions/checkout@v2 | |
|
11 | - name: Set up Python 3.8 | |
|
12 | uses: actions/setup-python@v2 | |
|
13 | with: | |
|
14 | python-version: 3.8 | |
|
15 | - name: Install Graphviz | |
|
16 | run: | | |
|
17 | sudo apt-get update | |
|
18 | sudo apt-get install graphviz | |
|
19 | - name: Install Python dependencies | |
|
20 | run: | | |
|
21 | python -m pip install --upgrade pip setuptools | |
|
22 | pip install -r docs/requirements.txt | |
|
23 | - name: Build docs | |
|
24 | run: | | |
|
25 | python tools/fixup_whats_new_pr.py | |
|
26 | make -C docs/ html SPHINXOPTS="-W" |
General Comments 0
You need to be logged in to leave comments.
Login now