mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 07:08:05 +00:00
linter update & django update
This commit is contained in:
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:
|
||||
|
||||
Reference in New Issue
Block a user