mirror of
https://github.com/retspen/webvirtcloud
synced 2025-02-23 21:05:17 +00:00
add excluded folders & create venv
This commit is contained in:
parent
b4430eddcc
commit
38c6ef12df
1 changed files with 9 additions and 1 deletions
10
.github/workflows/linter.yml
vendored
10
.github/workflows/linter.yml
vendored
|
@ -50,10 +50,17 @@ jobs:
|
||||||
|
|
||||||
- name: Install Required packages
|
- name: Install Required packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install -y libvirt-dev python3-lxml zlib1g-dev libxslt1-dev
|
sudo apt-get install -y python3-virtualenv libvirt-dev python3-lxml zlib1g-dev libxslt1-dev
|
||||||
|
|
||||||
|
- name: Create & Activate VENV
|
||||||
|
run: |
|
||||||
|
python3 -m venv venv
|
||||||
|
source venv/bin/activate
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install --upgrade pip
|
python3 -m pip install --upgrade pip
|
||||||
|
pip3 install wheel
|
||||||
if [ -f dev/requirements.txt ]; then pip3 install -r dev/requirements.txt; else pip3 install -r conf/requirements.txt; fi
|
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 #
|
# Run Linter against code base #
|
||||||
|
@ -61,6 +68,7 @@ jobs:
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: docker://github/super-linter:latest
|
uses: docker://github/super-linter:latest
|
||||||
env:
|
env:
|
||||||
|
FILTER_REGEX_EXCLUDE: .*(static|scss|venv)/.*
|
||||||
DEFAULT_BRANCH: master
|
DEFAULT_BRANCH: master
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
VALIDATE_ANSIBLE: false
|
VALIDATE_ANSIBLE: false
|
||||||
|
|
Loading…
Reference in a new issue