diff --git a/.gitea/workflows/sonarqube_python.yml b/.gitea/workflows/sonarqube_python.yml index 150dc18..b176f6a 100644 --- a/.gitea/workflows/sonarqube_python.yml +++ b/.gitea/workflows/sonarqube_python.yml @@ -32,11 +32,11 @@ jobs: fetch-depth: 0 - name: install requirements - if: ${{ inputs.coverage == true }} + if: ${{ inputs.run-coverage == true }} run: pip install -U pytest coverage - name: get coverage - if: ${{ inputs.coverage == true }} + if: ${{ inputs.run-coverage == true }} run: | coverage erase coverage run -m pytest --exitfirst --verbose ${{ inputs.tests-dir }}