mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-09 14:35:42 +08:00
github workflow: Add upgrade_server requirements at lint time
This commit is contained in:
parent
b951220315
commit
4342353e29
2 changed files with 2 additions and 0 deletions
1
.github/workflows/pylint-linux.yaml
vendored
1
.github/workflows/pylint-linux.yaml
vendored
|
@ -23,6 +23,7 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade setuptools
|
||||
if [ -f npbackup/requirements.txt ]; then pip install -r npbackup/requirements.txt; fi
|
||||
if [ -f npbackup/upgrade_server/upgrade_server/requirements.txt ]; then pip install -r npbackup/upgrade_server/upgrade_server/requirements.txt; fi
|
||||
- name: Lint with Pylint
|
||||
if: ${{ matrix.python-version == '3.11' }}
|
||||
run: |
|
||||
|
|
1
.github/workflows/pylint-windows.yaml
vendored
1
.github/workflows/pylint-windows.yaml
vendored
|
@ -24,6 +24,7 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
python -m pip install --upgrade setuptools
|
||||
if (Test-Path "npbackup/requirements.txt") { pip install -r npbackup/requirements.txt }
|
||||
if (Test-Path "npbackup/upgrade_server/upgrade_server/requirements.txt") { pip install -r npbackup/upgrade_server/upgrade_server/requirements.txt }
|
||||
- name: Lint with Pylint
|
||||
if: ${{ matrix.python-version == '3.11' }}
|
||||
run: |
|
||||
|
|
Loading…
Add table
Reference in a new issue