Use json-feed name in setup.py: PyPI available namespace #10
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
# Check if docs are up to date. diff returns a non-zero exit code if the stashed | |
# file differs from the regenerated one. | |
name: check-docs | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
check-docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.7' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Check for docs diff | |
run: | | |
cp -r docs committed-docs | |
rm -rf docs/* | |
make -B docs | |
diff docs committed-docs |