From 006f5be678188bc4d3d073525793e019bae7ef1c Mon Sep 17 00:00:00 2001 From: Zacharis278 Date: Thu, 25 Apr 2024 16:06:24 -0400 Subject: [PATCH] build: replace codecov --- .coveragerc | 1 + .github/workflows/ci.yml | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.coveragerc b/.coveragerc index f727baa1..fcaa8a49 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,7 @@ [run] branch = True data_file = .coverage +relative_files = True source=designer omit = designer/settings* diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e5eda02..16fe612c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,4 +30,10 @@ jobs: run: tox - name: Codecov if: matrix.python-version == '3.8' && matrix.toxenv == 'django42' - uses: codecov/codecov-action@v2 + uses: py-cov-action/python-coverage-comment-action@v3 + with: + GITHUB_TOKEN: ${{ github.token }} + MINIMUM_GREEN: 95 + MINIMUM_ORANGE: 84 + ANNOTATE_MISSING_LINES: true + ANNOTATION_TYPE: error