diff --git a/.coveragerc b/.coveragerc index 321e5ca0..5f39129b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,2 +1,3 @@ [run] omit = */tests/* +relative_files = true diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e9134821..3fa9d929 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -57,3 +57,8 @@ jobs: if: success() || failure() && steps.install-deps.outcome == 'success' run: | poetry run pytest -vv + - name: Coverage comment + id: coverage_comment + uses: py-cov-action/python-coverage-comment-action@v3 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 19ae7ca4..120d6ce7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Helper texts for some ordered content sets - CMS Forms Flexible imports and Better Error Handling - Contentpage warnings for media_link field +- Test coverage report - Changed Assessments to CMS Forms - Validation for high_inflection, medium_inflection and score field on CMS Forms ### Removed