From f5dbdd6b9549944e8d7a69cc357af9486ac32dd1 Mon Sep 17 00:00:00 2001 From: Embedded DevOps Date: Sun, 19 May 2024 21:49:06 -0700 Subject: [PATCH 1/2] Fixed README and updated version. Closes #7. --- README.md | 2 +- cover_agent/version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 From 153006d0f7456238157ad9f2c4bf88c3bd3c73c3 Mon Sep 17 00:00:00 2001 From: Embedded DevOps Date: Sun, 19 May 2024 22:21:58 -0700 Subject: [PATCH 2/2] Removed Cobertura comment and replacing with fail under. --- .github/workflows/ci_pipeline.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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