diff --git a/.gitea/workflows/ci-python-poetry-with-docker.yml b/.gitea/workflows/ci-python-poetry-with-docker.yml index 863dee9..6088326 100644 --- a/.gitea/workflows/ci-python-poetry-with-docker.yml +++ b/.gitea/workflows/ci-python-poetry-with-docker.yml @@ -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