mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 23:25:24 +00:00
linter update & django update
This commit is contained in:
parent
ba8fa20737
commit
119d874e85
2 changed files with 9 additions and 4 deletions
11
.github/workflows/linter.yml
vendored
11
.github/workflows/linter.yml
vendored
|
@ -32,10 +32,15 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
if [ -f dev/requirements.txt ]; then pip3 install -r dev/requirements.txt; fi
|
||||
- name: Super-Linter
|
||||
uses: docker://github/super-linter:v3.3.2
|
||||
if [ -f dev/requirements.txt ]; then pip3 install -r dev/requirements.txt; else pip3 install -r conf/requirements.txt; fi
|
||||
################################
|
||||
# Run Linter against code base #
|
||||
################################
|
||||
- name: Lint Code Base
|
||||
uses: docker://github/super-linter:latest
|
||||
env:
|
||||
FILTER_REGEX_EXCLUDE: .*[static|scss]/.*
|
||||
DEFAULT_BRANCH: master
|
||||
VALIDATE_ANSIBLE: false
|
||||
VALIDATE_CLOJURE: false
|
||||
VALIDATE_COFFEE: false
|
||||
|
|
|
@ -2,7 +2,7 @@ language: python
|
|||
python:
|
||||
- "3.6"
|
||||
env:
|
||||
- DJANGO=2.2.14
|
||||
- DJANGO=2.2.16
|
||||
install:
|
||||
- pip install -r dev/requirements.txt
|
||||
script:
|
||||
|
|
Loading…
Reference in a new issue