-
Notifications
You must be signed in to change notification settings - Fork 5
add ci test coverage #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
f39bf58
add gitHub action for test coverage check
Radwa85 5c3dbd8
add JaCoCo for code coverage analysis
Radwa85 175a20b
rename build job to test-coverage in ci workflow
Radwa85 3a07510
disable XML report for test coverage
Radwa85 c19078c
fix Jacoco report path for github actions
Radwa85 425c20d
enable XML report for JaCoCo test coverage
Radwa85 97be819
verify test tasks in ci workflow
Radwa85 80ed24c
add JacocoCoverageVerification for code coverage
Radwa85 33041f9
update GitHub workflow Java version to 22
Radwa85 fbcb0ea
Update Java version to 22 and Jacoco version
Radwa85 44698ef
update excludes in app/build.gradle.kts
Radwa85 e251998
return Java version to 11
Radwa85 4d6b1d3
rename ci workflow file
Radwa85 1826fc7
remove JaCoCo from debug build type
Radwa85 37d623f
simplify and remove duplication in Jacoco coverage check step
Radwa85 bf90e37
refactor Jacoco file filter for reuse
Radwa85 623343e
integrate Codecov for test coverage reporting
Radwa85 6026827
update Java version for test coverage workflow
Radwa85 509cab3
remove Greeting composable and its preview
Radwa85 d839394
replace JaCoCo with Kover for code coverage
Radwa85 d34e8a9
add kover to libs.versions.toml
Radwa85 fe4b88a
replaced Jacoco with Kover and automated coverage check using koverVe…
Radwa85 7f17f28
use all project instead of sub project
Radwa85 0456e61
use v4 instead of v3 , cache gradle,add main branch and use java 17
Radwa85 403bba5
use v4 instead of v3 , cache gradle,add main branch and use java 17
Radwa85 ebc7da0
use v4 instead of v3 , cache gradle,add main branch and use java 17
Radwa85 3ef0fe5
use v4 instead of v3 , cache gradle,add main branch and use java 17
Radwa85 5c7fd67
use v4 instead of v3 , cache gradle,add main branch and use java 17
Radwa85 d8e075c
refactor kover excluded packages in build.gradle.kts
Radwa85 368e007
Merge remote-tracking branch 'origin/development' into task/ci-test-c…
Radwa85 27b1cfa
Merge remote-tracking branch 'origin/development' into task/ci-test-c…
Radwa85 bf3175c
enable typesafe project accessors
Radwa85 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| name: CI - Test Coverage Check | ||
|
|
||
| on: | ||
| pull_request: | ||
| branches: [main, development] | ||
|
|
||
| jobs: | ||
| test-coverage: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up JDK | ||
| uses: actions/setup-java@v4 | ||
| with: | ||
| java-version: '17' | ||
| distribution: 'temurin' | ||
| cache: 'gradle' | ||
|
|
||
| - name: Grant permission for Gradle | ||
| run: chmod +x ./gradlew | ||
|
|
||
| - name: Run Unit Tests with Kover Coverage | ||
| run: ./gradlew test koverVerify koverXmlReport koverHtmlReport | ||
|
|
||
| - name: Upload Coverage to Codecov | ||
| uses: codecov/codecov-action@v4 | ||
| with: | ||
| token: ${{ secrets.CODECOV_TOKEN }} | ||
| files: build/reports/kover/merged/report.xml | ||
| flags: unittests | ||
| name: novix-coverage-report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.