Skip to content

Commit

Permalink
TRIB-232: Ensure accurate coverage reports for feature branch PRs (#151)
Browse files Browse the repository at this point in the history
* Update coverage upload workflow, Codecov config
- Ensure Codecov rounds percentages to nearest figure, enable counting partial hits
- Track coverage for feature branches & main branch as base coverage

* Remove codecov coverage setting changes

* Add missing feature branches to codecov-publish.yml
  • Loading branch information
maryamkhan14 authored Feb 13, 2024
1 parent b98d7e5 commit f530275
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ coverage:
threshold: 0%
base: auto
paths:
- "src"
- "src"
7 changes: 7 additions & 0 deletions .github/workflows/codecov-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ name: CodeCov Coverage Collection
on:
push:
branches:
- "main"
- "develop"
- "feature/connect-page"
- "feature/notifications-page"
- "feature/attributes-page"
- "feature/attribute-phrase-review"
- "feature/attributes-page-temp"
- "feature/review-attributes-page"

jobs:
coverage:
Expand Down

0 comments on commit f530275

Please sign in to comment.