diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index bfa36ff..81f32f8 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -30,6 +30,9 @@ jobs: uses: codecov/codecov-action@v4.0.1 with: token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true + files: ./coverage.xml + verbose: true - name: Generate Documentation run: | task docs diff --git a/Taskfile.yml b/Taskfile.yml index 15198cd..79417ff 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -34,6 +34,7 @@ tasks: desc: Runs all the tests cmds: - ${VENV_FOLDER}/${EXEC_FOLDER}/poetry run coverage run -m pytest tests + - ${VENV_FOLDER}/${EXEC_FOLDER}/poetry run coverage xml docs: desc: Generates the documentation