Skip to content
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 API 28, and fix CI issues. #2595

Merged
merged 10 commits into from
Mar 15, 2019
Merged

Conversation

dbrant
Copy link
Collaborator

@dbrant dbrant commented Mar 14, 2019

No description provided.

Also update jacoco plugin to work with latest gradle.
The functions it provides are no longer necessary.
This also removes a homemade "evaluate" function, which is readily
available in the Support library.
This library has not been updated in two years (may no longer be maintained?), and no longer works with
the latest RxJava.
Running test coverage on every single build while developing in the IDE is quite a waste of time.
The build output was getting extremely long, and was actually causing
the build to fail because of the sheer size of the log.
Stop CI messages from exploding to 10k+ lines.
The project's instrumented tests consist of a single test which sets a
SharedPreference, then verified that the SharedPreference was set.

I humbly submit that this is not worth the trouble of having the CI
server download the system image, spin up an emulator, load the APK, and
run it just for this purpose.

Once the instrumented tests are ready for prime time, we can reinstate
instrumented tests in CI.
@dbrant dbrant mentioned this pull request Mar 14, 2019
@codecov-io
Copy link

Codecov Report

Merging #2595 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2595      +/-   ##
=========================================
- Coverage    5.91%   5.89%   -0.02%     
=========================================
  Files         258     258              
  Lines       12324   12311      -13     
  Branches     1114    1113       -1     
=========================================
- Hits          729     726       -3     
+ Misses      11536   11527       -9     
+ Partials       59      58       -1
Impacted Files Coverage Δ
...n/java/fr/free/nrw/commons/CommonsApplication.java 42.1% <ø> (-0.21%) ⬇️
...nrw/commons/notification/NotificationRenderer.java 0% <0%> (ø) ⬆️
.../java/fr/free/nrw/commons/upload/GPSExtractor.java 1.61% <0%> (-3.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8dbeb6e...0d203a4. Read the comment docs.

@maskaravivek maskaravivek merged commit c21cc83 into commons-app:master Mar 15, 2019
This was referenced Mar 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants