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:
1818 if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1919 - name : Install library
2020 run : python3 setup.py install
21+ - name : Install sphinx
22+ run : pip3 install pylint Sphinx sphinx-rtd-theme
2123 - name : Run all unittests
2224 env :
2325 SECRET_IO_KEY : ${{ secrets.CI_IO_KEY }}
2426 SECRET_IO_USER : ${{ secrets.CI_IO_USERNAME }}
2527 run : |
2628 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