Commit graph

19 commits

Author SHA1 Message Date
Benoit Marty
ad7bc5fecc Upgrade gradle/gradle-build-action to v2.4.2 2023-05-02 10:55:05 +02:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
Jorge Martin Espinosa
610e4aa8b6 Revert "Update Gradle and AGP to v8.0 (#283)" (#295)
This reverts commit cda0606a0d.
2023-04-04 14:44:01 +00:00
Jorge Martin Espinosa
cda0606a0d Update Gradle and AGP to v8.0 (#283)
* Update dependency gradle to v8

* Handle upgrading Gradle to v8.0.2

* Update AGP to 8.0.0-RC01

* Try to set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-03 18:02:34 +02:00
Michael Kaye
7e0a284669 Use the gradle plugin (same usage as in element-android) to standardise caching.
This may or may not speed up build times.
2023-03-07 13:32:32 +00:00
Jorge Martin Espinosa
f300842a87 CI: make sure Paparazzi test failures stop the test flow (#117)
* Run Paparazzi tests just once when koverMergedReport is used.
* Make sure a Paparazzi failure breaks the test flow and blocks merging.
* Change ./gradlew check call in quality.yml to custom runQualityChecks task.
2023-03-02 09:15:47 +01:00
Benoit Marty
34bcba1712 Rename artifact 2023-02-07 10:36:29 +01:00
Benoit Marty
058b789930 Running kover run the tests, no need to do it twice. 2023-02-07 10:36:29 +01:00
Benoit Marty
fe56e0bea0 Upload coverage reports to codecov 2023-02-01 13:42:47 +01:00
Benoit Marty
5d3ea10e30 CI: Generate and archive kover report 2023-02-01 11:45:09 +01:00
Benoit Marty
46b6ba4417 Task was not run... To check again on CI 2023-02-01 11:44:41 +01:00
Benoit Marty
7398158539 Sonar: run after tests on CI. 2023-02-01 09:11:21 +01:00
Benoit Marty
7338335a40 ./gradlew test actually includes paparazzi tests. 2023-01-19 10:46:02 +01:00
Benoit Marty
cad3ed0861 Try to run only paparazzi 2023-01-19 09:54:01 +01:00
Benoit Marty
734e24d3d0 Fix CI running Paparazzi. 2023-01-18 16:50:37 +01:00
Benoit Marty
9ec1af8207 Actually run screenshot tests 2023-01-18 15:49:57 +01:00
Benoit Marty
b55bcf5fed CI no need to run test twice 2023-01-18 15:49:57 +01:00
Benoit Marty
2c940854d8 Screenshot test in CI 2023-01-18 15:20:32 +01:00
Benoit Marty
9b1a689eaa Add unit test workflow 2022-12-09 16:58:17 +01:00