fix(ci): fix constantly failing CI #450

Merged
luke merged 27 commits from fix-cicd into main 2025-01-02 18:05:16 +01:00
Showing only changes of commit 11a5900077 - Show all commits

View File

@ -27,22 +27,9 @@ jobs:
format: sonarqube format: sonarqube
no-fail: true 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 - name: Setup Poetry
run: PIPX_BIN_DIR=/usr/local/bin pipx install 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 - name: Setup Python
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
@ -60,7 +47,8 @@ jobs:
- name: Lint - name: Lint
run: | 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 cat lintreport.txt
- name: SonarQube Cloud Scan - name: SonarQube Cloud Scan