Skip to content

Run Instrumentation tests and generates unified code coverage #4828

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 9 commits into from
Feb 18, 2022

Conversation

madhurgupta10
Copy link
Collaborator

Description
I have updated CI to run androidTests and generate unified code coverage. These tests run on a virtual device so the builds will be slower but we need to include them because some tests can only be run on an actual device.

There are a lot of tests that are not working anymore and needs patches so I have marked them as Ignored for the time being.

@codecov
Copy link

codecov bot commented Feb 17, 2022

Codecov Report

Merging #4828 (0e1430a) into master (01904bc) will increase coverage by 1.52%.
The diff coverage is n/a.

❗ Current head 0e1430a differs from pull request most recent head 53caae8. Consider uploading reports for the commit 53caae8 to get more accurate results

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #4828      +/-   ##
============================================
+ Coverage     46.79%   48.32%   +1.52%     
- Complexity     2051     2125      +74     
============================================
  Files           356      356              
  Lines         15606    15606              
  Branches       1357     1357              
============================================
+ Hits           7303     7541     +238     
+ Misses         7769     7513     -256     
- Partials        534      552      +18     
Impacted Files Coverage Δ
...va/fr/free/nrw/commons/explore/SearchActivity.java 86.60% <0.00%> (+0.89%) ⬆️
...ava/fr/free/nrw/commons/upload/UploadActivity.java 63.72% <0.00%> (+0.93%) ⬆️
...n/java/fr/free/nrw/commons/auth/LoginActivity.java 70.09% <0.00%> (+0.93%) ⬆️
...n/java/fr/free/nrw/commons/upload/FileProcessor.kt 11.00% <0.00%> (+1.83%) ⬆️
.../commons/explore/paging/PagingDataSourceFactory.kt 75.00% <0.00%> (+2.27%) ⬆️
...ain/java/fr/free/nrw/commons/upload/FileUtils.java 35.13% <0.00%> (+2.70%) ⬆️
.../bookmarks/items/BookmarkItemsContentProvider.java 13.33% <0.00%> (+3.33%) ⬆️
...arks/pictures/BookmarkPicturesContentProvider.java 10.34% <0.00%> (+3.44%) ⬆️
...ks/locations/BookmarkLocationsContentProvider.java 10.34% <0.00%> (+3.44%) ⬆️
...fr/free/nrw/commons/settings/SettingsFragment.java 41.17% <0.00%> (+3.92%) ⬆️
... and 31 more

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 01904bc...53caae8. Read the comment docs.

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.

2 participants