Update .gitea/workflows/analyze_and_publish.yml
This commit is contained in:
@@ -13,8 +13,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
- name: Go to app directory
|
|
||||||
run: cd cdl_downloader
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v6
|
uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
@@ -22,10 +20,10 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -r requirements.txt
|
pip install -r cdl_downloader/requirements.txt
|
||||||
pip install pylint
|
pip install pylint
|
||||||
- name: Analysing the code with 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')
|
||||||
publish:
|
publish:
|
||||||
name: Publish script
|
name: Publish script
|
||||||
needs: analyze
|
needs: analyze
|
||||||
|
|||||||
Reference in New Issue
Block a user