Skip to content

Add CI workflow to check test coverage#225

Open
AdityaGupta716 wants to merge 3 commits intoprecice:developfrom
AdityaGupta716:ci-test-coverage
Open

Add CI workflow to check test coverage#225
AdityaGupta716 wants to merge 3 commits intoprecice:developfrom
AdityaGupta716:ci-test-coverage

Conversation

@AdityaGupta716
Copy link

Closes #55

Adds a workflow to check test coverage on every push and pull request using Coverage.py.

Changes:

  • Added check_coverage.py script that runs coverage report and fails if coverage is below a predefined threshold (currently set to 70%)
  • Added check-coverage.yml workflow that runs all unit tests with coverage and calls the script to check the threshold

The threshold can be adjusted in check_coverage.py as the codebase grows.

@AdityaGupta716
Copy link
Author

AdityaGupta716 commented Feb 24, 2026

@MakisH @IshaanDesai, plz review! The threshold is currently set to 70% in check_coverage.py .if u want smthing different let me know.

@MakisH MakisH added the GSoC Contributed in the context of the Google Summer of Code label Feb 25, 2026
@precice-bot
Copy link

This pull request has been mentioned on preCICE Forum on Discourse. There might be relevant details there:

https://precice.discourse.group/t/gsoc-2026-aditya-gupta/2773/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GSoC Contributed in the context of the Google Summer of Code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add CI to check test coverage

3 participants