mirror of
https://github.com/sprockets/sprockets.mixins.mediatype.git
synced 2024-12-27 11:17:30 +00:00
Build the documentation in CI.
Even though we aren't uploading it, this *should* make sure that the readthedocs build works.
This commit is contained in:
parent
026fd87e82
commit
d5d2259ffd
1 changed files with 17 additions and 0 deletions
17
.github/workflows/testing.yml
vendored
17
.github/workflows/testing.yml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
- name: Flake8
|
||||
run: |
|
||||
flake8 sprockets tests.py
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
@ -53,3 +54,19 @@ jobs:
|
|||
file: ./coverage.xml
|
||||
flags: unittests
|
||||
fail_ci_if_error: true
|
||||
|
||||
docs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Set up Read the Docs compatible python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install '.[docs]'
|
||||
python -m pip install .
|
||||
- name: Build documentation
|
||||
run: |
|
||||
./setup.py build_sphinx
|
||||
|
|
Loading…
Reference in a new issue