|
|
@@ -19,11 +19,14 @@ jobs:
|
|
|
steps:
|
|
|
- name: Checkout
|
|
|
uses: actions/checkout@v2
|
|
|
+ with:
|
|
|
+ fetch-depth: 0
|
|
|
|
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
|
uses: actions/setup-python@v2
|
|
|
with:
|
|
|
python-version: ${{ matrix.python-version }}
|
|
|
+
|
|
|
- name: Cache pip
|
|
|
uses: actions/cache@v2
|
|
|
with:
|
|
|
@@ -47,6 +50,11 @@ jobs:
|
|
|
export ROOT=$PWD
|
|
|
make apps
|
|
|
|
|
|
+ - 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
|
|
|
run: |
|
|
|
PYTHONWARNINGS=always ./build/env/bin/hue test unit --with-xunit --with-cover
|