diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index 594a19da4..fe0875245 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -49,7 +49,7 @@ jobs: env: OPENAI_API_KEY: "This_is_a_fake_API_key" run: | - poetry run pytest --junitxml=testLog.xml --cov=templated_tests --cov=cover_agent --cov-report=xml:cobertura.xml --log-cli-level=INFO + poetry run pytest --junitxml=testLog.xml --cov=templated_tests --cov=cover_agent --cov-report=xml:cobertura.xml --cov-report=term --cov-fail-under=70 --log-cli-level=INFO - name: Upload test report uses: actions/upload-artifact@v2 if: always() @@ -62,12 +62,6 @@ jobs: with: name: coverage-reports path: cobertura.xml - - name: Cobertura Coverage Report - uses: 5monkeys/cobertura-action@master - with: - path: cobertura.xml - repo_token: ${{ secrets.GITHUB_TOKEN }} - minimum_coverage: 60 env: pythonLocation: /opt/hostedtoolcache/Python/3.12.2/x64 LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.2/x64/lib diff --git a/README.md b/README.md index 2498b617a..5594fedf6 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ poetry run cover-agent \ --openai-model "gpt-4o" ``` -Note: If you are using Poetry then use the `poetry run python -m cover-agent` command instead of the `cover-agent` run command. +Note: If you are using Poetry then use the `poetry run cover-agent` command instead of the `cover-agent` run command. ### Outputs A few debug files will be outputted locally within the repository (that are part of the `.gitignore`) diff --git a/cover_agent/version.txt b/cover_agent/version.txt index 28d007539..50140e353 100644 --- a/cover_agent/version.txt +++ b/cover_agent/version.txt @@ -1 +1 @@ -0.1.32 +0.1.33