Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added check-docs-source-in-git to github worflows
Added check-docs-source-in-git to github worflows sanity.xml - Fixes #1552
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: sanity | ||
|
||
on: | ||
push: | ||
branches: master | ||
pull_request: | ||
|
||
jobs: | ||
check-docs-source-in-git: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 1 | ||
matrix: | ||
python-version: [3.7] | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: check-docs-source-in-git | ||
run: | | ||
sudo apt install python-pydot python-pydot-ng graphviz | ||
pip install -r requirements/readthedocs.txt | ||
make check-docs-source-in-git |