mirror of
https://github.com/retspen/webvirtcloud
synced 2024-10-31 19:44:16 +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
|
||||
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
|
||||
run: |
|
||||
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
|
||||
################################
|
||||
# Run Linter against code base #
|
||||
|
@ -61,6 +68,7 @@ jobs:
|
|||
- name: Lint Code Base
|
||||
uses: docker://github/super-linter:latest
|
||||
env:
|
||||
FILTER_REGEX_EXCLUDE: .*(static|scss|venv)/.*
|
||||
DEFAULT_BRANCH: master
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_ANSIBLE: false
|
||||
|
|
Loading…
Reference in a new issue