Commit graph

12 commits

Author SHA1 Message Date
Jean-Baptiste
7db72f90f4
Bump actions (#5229) 2023-07-25 17:53:24 +09:00
Matija Nalis
b1a272ef49
allow running GitHub workflow manually (#5248) 2023-06-22 09:55:44 +05:30
Madhur Gupta
36510a4301
Fix Instrumentation Tests (#4832)
* Fix AboutActivity Instrumentation Tests

* Fix WelcomeActivity Instrumentation Tests

* Fix SearchActivity Instrumentation Tests

* Fix SignupTest Instrumentation Tests

* Fix LoginActivityTest Instrumentation Tests

* Fix SettingsActivity Instrumentation Tests

* Fix LoginActivity Instrumentation Tests

* Update loginUser

* Add logoutUser

* Fix logoutUser

* Update github action to use env variables

* Fix github action to use env variables

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Fix github action

* Remove scroll

* Add wait time

* Fix keyboard issue

* Disable animation

* Enable animation

* Enable animation

* Disable animation

* Fix compile error

* Remove AVD Cache

* Set timezone and dns

* Add AVD cache

* Add API level

* Update API level to 24

* Add sleep timer

* Add scroll

* Remove logout

* Ignore some tests

* update logout

* update logout

* Fix scroll layout problem

* Fix scroll layout problem

* Ignore orientation test

* Update tests

* Update tests

* Update API level to 29

* Change device and API level to 27

* Use AndroidJUnit4

* Change API to 28

* Try with macos

* Use nested scrollview

* Update Profile Activity Test

* Update Profile Activity Test

* Turn off rotation

* Change device

* Remove failing test

* Change API to 24

* Add rotation lock for failing test

* Change API to 24

* Add sleep

* Remove text

* Remove child

* Force rotation on back press

* Force open more sheet

* Change device to pixel 5

* Change device to 13.5inch

* Update tests

* Ignore failing test

* Use linux

* Update tests

* Use repo secrets instead

* Add mainactivity tests

* Remove content description

* Different workflows for PR and branch, PR workflow will need maintainer approval to prevent secrets getting leaked

* Run instrumentation tests only for push and not for PRs

* Fix FileNotFound Exception

* Update MainActivity and Profile tests

* Fix coverage path issue

* Add wait time for map to load

* Open contribution

* Update settings tests

* Update main activity tests

* Fix failing test

* Fix failing test

* Increase login time

* Separate settings test

* Update review tests

* Ignore uploadCancelledAfterLocationPickedTest

* Update MainActivity Tests

* Update UploadCancelledTest

* Update UploadCancelledTest

* Update device

* Fix Init release error

* Fix failing test

* Fix failing test

* Try with long click

* Update UploadCancelledTest.kt

* Fix Leaderboard Test

* Update testContributions

* Set GPS coordinates

* Add zoomControllers to excludes

* Add ExploreActivityTest

* Remove failing condition

* Merge tests

* Remove failing test

* Remove failing test

* Fix failing test

* Fix failing test

* Update AboutActivityTest.kt

* Update jacoco.gradle
2022-04-26 21:09:15 +10:00
Madhur Gupta
9205f37605
Run Instrumentation tests and generates unified code coverage (#4828)
* Run instrumentation tests on CI and generate unified coverage report

* Fix ci

* Fix failing tests and use mac machine for HAXM

* Fix failing tests

* Fix coverage failure

* Try with ubuntu latest

* Change API level to 23

* Fix Failing Test

* Add prod APK generator workflow back
2022-02-18 16:18:29 +10:00
Kaartic Sivaraam
e6c64b9368
GitHub issue forms (#4804)
* .github: move pull request template into .github directory

This keeps it out of the root directory. The main intention is
that keeping it out-of-root helps give it less attention which
is enough for the template.

* .github: add a issue form template for the app

This is based on the exisitng issue template of the app. It has
some additional tweaks done to update stale information.

* .github: add some more issue templates
2022-02-10 17:05:32 +10:00
Madhur Gupta
49274c5dbd
Update CI with latest versions, artifacts and caching (#4785)
* Auto generate apk after build is complete

* Add cache

* Fix syntax error

* Fix syntax error

* Fix artifact name not valid error
2022-02-03 15:52:57 +10:00
Rishi Kumar Ray
15d70bbe0a
Cancel previous ongoing runs in the PR/branch when you push new commits (#4783)
* added cancel previous build

* updated Cancel Workflow Action

* added cancel previous builds

* reverted unwanted changes
2022-02-01 13:16:15 +05:30
Madhur Gupta
52b05f75e8
Codecov Uploader Update (#4673)
* Update codecov uploader and fix di folder for jacoco

* Fix codecov uploader
2021-10-14 23:19:58 +03:00
Madhur Gupta
b1f06ad9bc
Update jacoco and github actions (#4639)
* Fix jacoco setup

* Fix task name

* Update CI yml file for codecov

* Fix syntax error

* Use all branch instead of just master

* Fix report upload issue

* Remove returnDefaultValues

* Add Github Action and Codecov badge
2021-09-20 22:39:54 +10:00
Adam Jones
fb634934b9
Remove ignored lint rules (#4621)
We don't do anything about these ones, and they just clutter the logs making important stuff much harder to find (as agreed in #2823 and #4077).

We already use IntelliJ's inspections feature to replace the need for this.
2021-09-20 16:59:57 +10:00
Adam Jones
5b526c6c27
Revert: Gradle dependency bump in "Add CI with GitHub Actions" (#4121)
* Revert "Add CI with GitHub Actions (#4078)"

This reverts commit 52ab160d38.

* Downgrade ubuntu version
2020-12-22 18:11:30 +10:00
Adam Jones
52ab160d38
Add CI with GitHub Actions (#4078)
* Create android.yml

* Bump ABT and Gradle versions

* Update android.yml
2020-12-22 05:04:41 +10:00