Skip to content

Commit

Permalink
add docs build command to the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lbalmaceda committed Aug 25, 2021
1 parent 16bc509 commit d4a0b15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,19 @@ jobs:
command: |
pip install .[test]
pip install codecov
pip install -r docs/requirements.txt
- save_cache:
key: deps3-{{ .Branch }}-{{ checksum "setup.py" }}
paths:
- ".venv"
- "/usr/local/bin"
- "/usr/local/lib/python3.6/site-packages"
- run: coverage run --include=auth0/v3/*.py --omit=auth0/v3/test/*.py -m unittest discover
- run:
name: Run tests
command: coverage run --include=auth0/v3/*.py --omit=auth0/v3/test/*.py -m unittest discover
- run:
name: Build docs
command: cd docs/ && make html
- run:
when: on_success
command: bash <(curl -s https://codecov.io/bash)
Expand Down

0 comments on commit d4a0b15

Please sign in to comment.