-
Notifications
You must be signed in to change notification settings - Fork 13
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
Update to AndroidX, gradle version and plugin updates #357
Conversation
5559d3d
to
0845b02
Compare
…a 11 - Fix getMasterCommitCount() groovy function not working by fetching origin and changing branch to origin/master
0845b02
to
db7770e
Compare
95ecda9
to
89b3374
Compare
a353b1b
to
a1ca3cc
Compare
0406944
to
89c8389
Compare
- A bug as reported on a relative repository vanniktech/gradle-android-junit-jacoco-plugin#183 prevents jacoco exec coverage file from being generated when android.buildTypes.debug.testCoverageEnabled is true - Disabled the createDebugCoverageReport from the jacocoTestReport therefore disabling running of instrumentation tests
89c8389
to
1530439
Compare
Pull Request Test Coverage Report for Build #584
💛 - Coveralls |
e89de85
to
3e9e3c2
Compare
3e9e3c2
to
db2a14b
Compare
db184bb
to
6d69618
Compare
6d69618
to
8335276
Compare
- Downgrade Robolectric to 4.3.1 which is the only working version currently - Update Mapbox annotations to com.mapbox.mapboxsdk:mapbox-android-plugin-annotation-v9:0.9.0 - Move dependency names and versions to configs.gradle - Switch CI OS to Macos for better AVD stability - Enable download of Robolectric jars manually
0460b35
to
b22a1ed
Compare
The PR looks good for merge, however I think we should create a ticket around reporting the Instrumentation coverage. |
@@ -29,6 +29,11 @@ POM_SETTING_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt | |||
POM_SETTING_LICENCE_DIST=repo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we need to bump up the artefact version for tagging on git and publishing the snapshot?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we can do that here but I prefer to have this on separate PRs for better tracking since releases were not always done after every PR https://github.com/onaio/kujaku/pulls?q=is%3Apr+sort%3Aupdated-desc+is%3Aclosed+release
//libraryModuleRelease(configuration) | ||
libraryModuleDevelopment(this, configuration) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need some documentation on the usage of these i.e. release vs dev mode e.g. on the READ ME
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An issue to update the documentation here #359
Reduced coverage by 10%
buildType.debug.testCoverageEnabled
is set totrue
. With this option set to false, gradle does not find the task'createDebugCoverageReport
which is used to run instrumentation tests with coverage reporting. These tests contribute to a fraction of the test coverage.Below is the difference especially in the
sample
module where the tests are mostly instrumentation testsBefore
After
This is being tracked here