Commit Graph

187 Commits

Author SHA1 Message Date
renovate[bot]
091b2c1c44 Update gradle/gradle-build-action action to v2.7.1 2023-08-19 02:06:53 +00:00
Benoit Marty
387432dca1 Merge pull request #1073 from vector-im/renovate/app.cash.paparazzi-1.x
Update plugin paparazzi to v1.3.1
2023-08-18 15:07:51 +02:00
Benoit Marty
1706b6e91d Remove failures artifact, the content is included in tests-and-screenshot-tests-results artifact (only one artifact to download). 2023-08-18 09:13:19 +02:00
Benoit Marty
8017579820 Remove report artifact, it is included in tests-and-screenshot-tests-results artifact. 2023-08-18 09:13:19 +02:00
Benoit Marty
4a10d5172e Paparazzi 1.3.1 exports failure deltas from PROJECT_ROOT/out/failures/ to BUILD_DIR/paparazzi/failures/. 2023-08-18 09:13:19 +02:00
Benoit Marty
fec32b2d63 Merge pull request #1071 from vector-im/chore/jme/revert-merge-queue-optimizations
Revert merge queue CI optimizations
2023-08-17 20:52:16 +02:00
Jorge Martín
067921a6de Revert merge queue CI optimizations 2023-08-17 17:17:03 +02:00
renovate[bot]
ebc53993cc Update nschloe/action-cached-lfs-checkout action to v1.2.2 2023-08-10 08:26:25 +00:00
renovate[bot]
dcd5c2de7a Update danger/danger-js action to v11.2.8 (#1008)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-08 09:47:09 +00:00
Jorge Martín
414bbd2f2c Fix concurrentcy group for building develop with a matrix of variants 2023-08-02 11:20:25 +02:00
Jorge Martín
d79b05878a Fix concurrentcy group for building develop 2023-08-02 11:19:28 +02:00
Jorge Martin Espinosa
89b1bba96e CI improvements (#1012) 2023-07-31 21:05:28 +02:00
Jorge Martin Espinosa
ffdf005507 Try to skip extra checks in the CI for up to date PRs in merge queue. (#1010)
* Try to skip extra checks in the CI for up to date PRs in merge queue.

* Try to simplify check

* Remove expression syntax from `if`s
2023-07-31 15:19:51 +00:00
Jorge Martin Espinosa
a1dd524471 Try to fix using the merge queue (#1009) 2023-07-31 13:35:38 +00:00
Benoit Marty
54e16eae0f No need to upload artifact in this job. This is done by the build job. 2023-07-27 23:03:40 +02:00
renovate[bot]
4e506667fb Update danger/danger-js action to v11.2.7 (#961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-26 07:02:07 +02:00
renovate[bot]
015b98d818 Update gradle/gradle-build-action action to v2.7.0 (#958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-25 08:07:48 +02:00
Benoit Marty
287b930dcd GitHub does not like comment like this. Just remove them. 2023-07-21 16:33:02 +02:00
Benoit Marty
04b3035d69 Revert change from #941, upload APK to Firebase App Distribution for now.
We need a matching and released PlayStore application to be able to upload an AAB, and we do not have that for now.
2023-07-21 16:19:16 +02:00
Benoit Marty
f09996cb30 Merge pull request #935 from vector-im/feature/bma/noWarnings
Code quality: warnings are errors and enable more Detekt rules.
2023-07-21 15:52:05 +02:00
Benoit Marty
aa99a77cb6 Add missing env vars, now that we are building the APK in this task. 2023-07-21 12:19:29 +02:00
Benoit Marty
7f56e9e06a Upload smaller APK to Maestro Cloud. 2023-07-21 10:28:47 +02:00
Benoit Marty
0fd5032dba Nightly build: upload the application bundle to Firebase instead of the universal APK. 2023-07-21 10:24:11 +02:00
Benoit Marty
b422414e05 Ci will not ignore compilation warnings. 2023-07-20 15:29:47 +02:00
Marco Romano
8648e8ba53 Extract maptiler's map ids (#926)
Maptiler custom map ids are only useable by the account that create them. So if we hardcode them forkers won't be able to use the maps even if the bring in their own api key (because they can't access our maps with their api key).

Requires to set our map ids in `local.properties` for local development:
```
services.maptiler.lightMapId=9bc819c8-e627-474a-a348-ec144fe3d810
services.maptiler.darkMapId=dea61faf-292b-4774-9660-58fcef89a7f3
```
2023-07-20 14:29:06 +02:00
Benoit Marty
114f868c1f Need JDK 17 2023-07-20 11:29:55 +02:00
Benoit Marty
05f2af3930 Add workflow to create app bundle. 2023-07-20 11:08:09 +02:00
Benoit Marty
d40cfe0e98 Do not build main branch in this workflow. 2023-07-20 11:07:08 +02:00
Marco Romano
de2980bec7 Add maestro test for send location (#914)
Originally part of https://github.com/vector-im/element-x-android/pull/770
It's been extracted out since it's currently blocked by our lack of maestro cloud credits.

- https://github.com/vector-im/element-meta/issues/1682
2023-07-19 14:46:56 +02:00
Chris Smith
8c3cda836e Merge pull request #886 from vector-im/feature/cjs/location-api-key 2023-07-18 15:32:54 +01:00
Benoit Marty
6e6b3ef05f Merge pull request #898 from vector-im/feature/bma/fixOnBoardingScreen
Fix on boarding screen
2023-07-18 15:55:13 +02:00
Benoit Marty
589e785c62 Ensure previous screenshots are deleted. Sometimes, the registered task is not trigger, I do not know why... 2023-07-18 14:56:48 +02:00
renovate[bot]
e4a7fcc60c Update gradle/gradle-build-action action to v2.6.1 (#893)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-18 12:25:18 +02:00
Chris Smith
b7bd08b210 Location sharing: don't hardcode API key
In an effort to make it easier for forks to (a) use their own
API keys (b) change map styles or maybe even providers, move
the MapTiler key out of the source code and pass it in via
env var or property.

Also refactor the utility classes slightly to keep all the URL
related functions together, to reduce the chance of collisions
when maintaining such forks.
2023-07-17 16:09:53 +01:00
Benoit Marty
337318d68e Merge pull request #881 from vector-im/renovate/rnkdsh-action-upload-diawi-1.x
Update rnkdsh/action-upload-diawi action to v1.5.1
2023-07-17 16:11:37 +02:00
Jorge Martin Espinosa
323a84db37 Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
renovate[bot]
1f4b7b1d5e Update rnkdsh/action-upload-diawi action to v1.5.1 2023-07-16 21:03:31 +00:00
Kat Gerasimova
4789ad40aa Add fixed automation for moving issues between columns
This should fix the problem we were having earlier
2023-07-14 15:33:36 +01:00
Kat Gerasimova
fcf4454c1c Revert "Try to debug project automation column issues" (#874)
This reverts commit 4dbb3994d2.
2023-07-14 12:00:02 +02:00
Jorge Martin Espinosa
64b6970c89 Try to improve 'Tests' CI job times (#865)
* Try to improve 'Tests' CI job times

* Remove `-Pci-build=true` for jobs where the debug mode can be explicitly used

* Add some more excluded `*State` values for kover

* Run paparazzi verification at the same time as Kover tasks, otherwise the coverage is lost.
2023-07-13 10:47:55 +02:00
Kat Gerasimova
4dbb3994d2 Try to debug project automation column issues
The error I get from my private test repo is different from this one. Need to check what the first step returns
2023-07-12 17:03:02 +01:00
Benoit Marty
1db234466c Split task in 2, due to the fact that when we run kover on the CI, run only debug test variants.
Error was:
 Some problems were found with the configuration of task ':koverMergedHtmlReport' (type 'KoverHtmlTask').
  - Gradle detected a problem with the following location: '/home/runner/work/element-x-android/element-x-android/features/analytics/api/build/tmp/kotlin-classes/release'.

    Reason: Task ':koverMergedHtmlReport' uses this output of task ':features:analytics:api:compileReleaseKotlin' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

    Possible solutions:
      1. Declare task ':features:analytics:api:compileReleaseKotlin' as an input of ':koverMergedHtmlReport'.
      2. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#dependsOn.
      3. Declare an explicit dependency on ':features:analytics:api:compileReleaseKotlin' from ':koverMergedHtmlReport' using Task#mustRunAfter.
...
2023-07-12 15:11:40 +02:00
Benoit Marty
38ec0f2039 Ensure CI run all the tests. There were some failing tests, but the CI does not see it. It seems that koverMergedReport does not run all the tests (?). 2023-07-12 09:40:02 +02:00
renovate[bot]
0ae3d25666 Update gradle/gradle-build-action action to v2.6.0 2023-07-10 20:05:51 +00:00
Kat Gerasimova
b48261031d Update template for user story
Update the label/description - labels are compulsory and end up in the issue body
Split out signoff from tasklist - that way signoffs do not count towards the total tasks in the issue
2023-07-06 12:53:20 +01:00
Marco Romano
3bc5dfa2dc Add Maestro tests for create & join rooms (#472)
I created 2 additional test users to use them as MXID we lookup during room creation.

I.e. we will not login as those users, it's just 2 known MXIDs that we know exist so we can look them up.

- https://github.com/vector-im/element-x-android/issues/409
2023-07-04 13:33:59 +02:00
Kat Gerasimova
2df6cc3ee7 Quote out broken issue automation for now
Need to figure out why it's not working
2023-07-03 12:12:20 +01:00
Benoit Marty
8b579d1951 Merge pull request #734 from vector-im/misc/cjs/dont-delete-all-the-screenshots
Improve screenshot action error handling
2023-07-03 10:23:29 +02:00
Chris Smith
6c82c02dc8 Reformat workflow 2023-06-30 13:25:36 +01:00
Kat Gerasimova
20cb329105 Add issues to new triage board
All new issues should go to the V2 triage board
2023-06-30 13:25:36 +01:00