diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3f73345..2f2d0c6 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -30,18 +30,18 @@ jobs: python-version: "${{ vars.PYTHON_VERSION }}" - name: Setup Poetry run: curl -sSL https://install.python-poetry.org | python3 - - # - name: Update PATH - # run: PATH="/root/.local/bin:$PATH" + - name: Update PATH + run: export PATH="/root/.local/bin:$PATH" - name: Install dependencies - run: poetry install + run: /root/.local/bin/poetry install - name: Lint run: | - poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt . + /root/.local/bin/poetry run pylint --fail-under=8 --recursive=yes --output-format=parseable --output=lintreport.txt . cat lintreport.txt - name: Unit Test run: | - poetry run coverage run -m pytest -v --junitxml=testresults.xml - poetry run coverage xml + /root/.local/bin/poetry run coverage run -m pytest -v --junitxml=testresults.xml + /root/.local/bin/poetry run coverage xml sed -i 's@${{ github.workspace }}@/github/workspace@g' coverage.xml - name: SonarQube Cloud Scan uses: SonarSource/sonarqube-scan-action@v4.2.1