fix(ci): fix constantly failing CI #450
@ -27,22 +27,9 @@ jobs:
|
||||
format: sonarqube
|
||||
no-fail: true
|
||||
|
||||
# - name: Ensure pipx is in PATH
|
||||
# run: |
|
||||
# pipx ensurepath
|
||||
# export PATH=$PATH:/root/.local/bin
|
||||
|
||||
# - name: Setup Poetry
|
||||
# uses: abatilo/actions-poetry@v4
|
||||
|
||||
- name: Setup Poetry
|
||||
run: PIPX_BIN_DIR=/usr/local/bin pipx install poetry
|
||||
|
||||
- name: Setup virtual environment
|
||||
run: |
|
||||
poetry config virtualenvs.create true --local
|
||||
poetry config virtualenvs.in-project true --local
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
@ -60,7 +47,8 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: |
|
||||
poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt .
|
||||
mkdir -p $HOME/.cache/pylint
|
||||
poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt app/ tests/
|
||||
cat lintreport.txt
|
||||
|
||||
- name: SonarQube Cloud Scan
|
||||
|
Loading…
Reference in New Issue
Block a user