Update .gitea/workflows/analyze.yml
This commit is contained in:
@@ -15,11 +15,10 @@ on:
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze code
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v6
|
||||
- name: Go to app directory
|
||||
run: cd cdl_downloader
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
@@ -27,7 +26,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
pip install -r cdl_downloader/requirements.txt
|
||||
pip install pylint
|
||||
- name: Analysing the code with pylint
|
||||
run: pylint --exit-zero $(git ls-files '*.py')
|
||||
run: pylint --exit-zero $(git ls-files 'cdl_downloader/*.py')
|
||||
Reference in New Issue
Block a user