File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,16 @@ jobs:
18
18
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
19
19
- name : Install library
20
20
run : python3 setup.py install
21
+ - name : Install sphinx
22
+ run : pip3 install pylint Sphinx sphinx-rtd-theme
21
23
- name : Run all unittests
22
24
env :
23
25
SECRET_IO_KEY : ${{ secrets.CI_IO_KEY }}
24
26
SECRET_IO_USER : ${{ secrets.CI_IO_USERNAME }}
25
27
run : |
26
28
cd tests/
27
- ADAFRUIT_IO_KEY=$SECRET_IO_KEY ADAFRUIT_IO_USERNAME=$SECRET_IO_USER python -m unittest discover
29
+ ADAFRUIT_IO_KEY="$SECRET_IO_KEY" ADAFRUIT_IO_USERNAME="$SECRET_IO_USER" python -m unittest discover
30
+ cd ..
31
+ - name : Generate documentation
32
+ run : |
33
+ cd docs && sphinx-build -E -W -b html . _build/html && cd ..
You can’t perform that action at this time.
0 commit comments