diff --git a/.coveragerc b/.coveragerc index f727baa..fcaa8a4 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 4e5eda0..16fe612 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