-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: setup build
workflow and build coverage reports
#4
Merged
Conversation
This file contains 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
error occurred. https://github.com/ibara1454/secure-shared-preferences/pull/4/checks?check_run_id=675191254 Error: Invalid package reference in org.jetbrains.kotlinx:kotlinx-coroutines-core; not included in Android: java.lang.instrument. Referenced from kotlinx.coroutines.debug.AgentPremain. [InvalidPackage]
Kotlin/kotlinx.coroutines#2004 The bug will fixed in 1.3.7
Codecov Report
@@ Coverage Diff @@
## master #4 +/- ##
=========================================
Coverage ? 54.57%
=========================================
Files ? 26
Lines ? 328
Branches ? 37
=========================================
Hits ? 179
Misses ? 131
Partials ? 18 Continue to review full report at Codecov.
|
build
workflowbuild
workflow and build coverage reports
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Proposed Changes
Details
Settings Github Actions workflow
Currently, we only set one job contains:
For generating coverage report, we used jacoco-android-gradle-plugin to simply add the
jacocoTestReport
task. Which will generates reports under$module/build/reports/jacoco
.Upload coverage reports
We upload coverage reports to Codecov. Which will display the coverage report and will build a badge for coverage.
Add coverage badge to _README.md
As following, the beautiful badge:
Configure library version
kotlinx-coroutines-core: 1.5.6 -> 1.5.5
Downgrade the coroutine library to avoid lint warnings
Kotlin/kotlinx.coroutines#2004
Suppress lint warnings
Suppress the RequestsApi warnings