Skip to content

Commit

Permalink
Merge pull request #428 from praekeltfoundation/add-test-coverage-report
Browse files Browse the repository at this point in the history
add test coverage report
  • Loading branch information
Hlamallama authored Feb 25, 2025
2 parents 1c6394f + 4a673f7 commit aefe90e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[run]
omit = */tests/*
relative_files = true
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aefe90e

Please sign in to comment.