|
|
@@ -54,11 +54,29 @@ jobs:
|
|
|
export ROOT=$PWD
|
|
|
make apps
|
|
|
|
|
|
+ - name: run tests
|
|
|
+ run: |
|
|
|
+ PYTHONWARNINGS=always ./build/env/bin/hue test unit --with-xunit --with-cover
|
|
|
+
|
|
|
- name: run python lints
|
|
|
run: |
|
|
|
./build/env/bin/pip install pylint==2.5.3 pylint-django==2.3.0 configparser==5.3.0
|
|
|
./tools/ci/check_for_python_lint.sh
|
|
|
|
|
|
- - name: run tests
|
|
|
+ - name: run documentation lints
|
|
|
run: |
|
|
|
- PYTHONWARNINGS=always ./build/env/bin/hue test unit --with-xunit --with-cover
|
|
|
+ # Installs to move to image building
|
|
|
+ curl -O https://dl.google.com/go/go1.17.linux-amd64.tar.gz
|
|
|
+ tar -xvf go1.17.linux-amd64.tar.gz
|
|
|
+ export GO111MODULE=on
|
|
|
+ go/bin/go get -u github.com/raviqqe/muffet@v1.5.7
|
|
|
+
|
|
|
+ curl --output hugo_0.69.0_Linux.tar.gz -L https://github.com/gohugoio/hugo/releases/download/v0.69.0/hugo_0.69.0_Linux-64bit.tar.gz
|
|
|
+ tar -xvf hugo_0.69.0_Linux.tar.gz
|
|
|
+
|
|
|
+ export PATH=$PWD:$HOME/go/bin:$PATH
|
|
|
+
|
|
|
+ # Trigger linting if documentation changes
|
|
|
+ ./tools/ci/check_for_website_dead_links.sh docs/docs-site
|
|
|
+ # ./tools/ci/check_for_website_dead_links.sh docs/gethue
|
|
|
+
|