Commit Graph

78 Commits

Author SHA1 Message Date
Benoit Marty 6671a3f925 try API 29 2024-07-16 10:01:22 +02:00
Benoit Marty 19500a8cd9 Upgrade a few dependencies and update the codebase
Use fully qualified R classes
Fix or ignore deprecation
Update github actions and ensure JDK 17 is used
Add group for paparazzi
Fixes Lint issues
Fix Jacoco configuration
2024-07-15 18:12:20 +02:00
Valere b5dbb91c9c Fix sonarqube UnsupportedClassVersionError
revert sonarqube version

try java sdk 17

put back sonarqube plugin version
2024-06-06 13:23:34 +02:00
Valere dfbb3122e7 Remove legacy crypto code 2023-10-02 13:58:51 +02:00
valere 5f185c51e7 Merge branch 'develop' into feature/bca/rust_flavor 2023-03-09 18:21:41 +01:00
Benoit Marty 8bb78ce68b `sonarqube` task is deprecated, use `sonar` now. 2023-03-03 16:40:23 +01:00
Kat Gerasimova 3bb19838a4 Don't run tests on changes to .github/*
If a PR is only touching files in the .github directory, there's no need to run tests on the app
2023-02-16 18:22:08 +00:00
valere 4ee53ad9d0 Merge branch 'develop' into feature/bca/rust_flavor 2023-01-23 09:17:26 +01:00
Michael Kaye 8e77f90348
Use gradle build cache action rather than manual cache usage. (#7944) 2023-01-19 11:20:16 +00:00
valere 8b7238e051 fix CI 2022-12-14 09:47:32 +01:00
Jorge Martin Espinosa ffb5edd2e4
Set timeout for test CI jobs (#7598)
* Set timeout for test CI jobs

* Increase timeout to 1.5h: some Test jobs successfully finish > 1h
2022-11-24 09:46:11 +01:00
dependabot[bot] 7017cb97e9
Bump michaelkaye/setup-matrix-synapse from 1.0.3 to 1.0.4
Bumps [michaelkaye/setup-matrix-synapse](https://github.com/michaelkaye/setup-matrix-synapse) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/michaelkaye/setup-matrix-synapse/releases)
- [Commits](https://github.com/michaelkaye/setup-matrix-synapse/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: michaelkaye/setup-matrix-synapse
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 23:04:02 +00:00
Nikita Fedrunov 337dce7d9e
tests workflow will now update gradle cache when run against develop (#7238) 2022-09-27 17:45:50 +02:00
Adam Brown 2d2b2e9218 using latest upload-artifact action (should fix missing glob) 2022-09-27 11:03:44 +01:00
Adam Brown 2e4ca1d6d9 ensuring build flags are applied to all test steps 2022-09-26 12:29:28 +01:00
Adam Brown ac9333312a switching emulator image to the playstore variant to fix no network on the buildjet runner
- updates max workers to match available resources
- re-enables previously failing test
2022-09-26 12:28:50 +01:00
Adam Brown 7d18d89a61 adding missing colon to yml run param 2022-09-26 10:26:39 +01:00
Adam Brown 243ca01924 including lfs files when checking out during tests workflow 2022-09-26 10:26:39 +01:00
Adam Brown b0e2596b58 including screenshot verification and error result uploads as part of the test step 2022-09-26 10:26:38 +01:00
Benoit Marty aa010dedff Try to upload integration test report log 2022-09-19 18:36:01 +02:00
Benoit Marty 0c28384ece Create AVD and generate snapshot for caching. Also force AVD creation when no cache hit 2022-09-19 18:12:19 +02:00
Benoit Marty 0e45494c11 Comment out `continue-on-error: true`
It does not mark the build as failed.
2022-09-19 16:26:38 +02:00
Benoit Marty bf493f27ae Revert to `buildjet-4vcpu-ubuntu-2204` 2022-09-19 14:31:35 +02:00
Benoit Marty 75236e9ed0 Start with `buildjet-2vcpu-ubuntu-2204` 2022-09-19 10:17:05 +02:00
Benoit Marty 6ac9a7627b Disable 2nd attempt to run the tests. 2022-09-13 14:42:39 +02:00
Benoit Marty 2e8b6e4eb9 typo 2022-09-13 14:40:26 +02:00
Benoit Marty 9a651b223b Use `buildjet-4vcpu-ubuntu-2204` runner instead of `macos-latest` to build and run the integration tests. 2022-09-13 13:18:18 +02:00
Maxime NATUREL ff9add5a0c Re-adding env variables section inside the sonarqube job 2022-09-09 09:25:36 +02:00
Maxime NATUREL b60c279c06 Re-adding "always()" expression in the condition 2022-09-09 09:25:36 +02:00
Maxime NATUREL 398f9427df Only run sonarqube task if tokens are not empty to avoid failure 2022-09-09 09:25:36 +02:00
Adam Brown 244aa094ef adding fragment testing dependency as a possible solution for missing jacoco agent on CI 2022-08-31 09:16:01 +01:00
Adam Brown 8470ac9731 removing unneeded --stacktrace flag, it's part of the CI_GRADLE_ARG_PROPERTIES 2022-08-04 15:03:00 +01:00
Adam Brown b0f73b029c upping the jvm limit but keeping the kotlin daemon constrained 2022-08-04 10:00:47 +01:00
Adam Brown b625d6a9bc reducing CI workers to github VM limit 2022-08-03 15:53:27 +01:00
Adam Brown c6e263a6d3 allowing parallel builds to occur now that the memory is constrained 2022-08-03 15:45:57 +01:00
Adam Brown ee553d6693 making use of gradle_opts environment var to attempt to limit the jvm environment and fix gradle crashing 2022-08-03 15:40:01 +01:00
Benoit Marty 619e5dd7d1 Try to use a token from ElementBot, to let PR created from fork be able to run this step. 2022-07-29 14:56:46 +02:00
Benoit Marty e44c9aa126 Try no using the gradle daemon on CI 2022-06-28 15:36:07 +02:00
Benoit Marty dc63d41c97 Harmonize values of `CI_GRADLE_ARG_PROPERTIES` 2022-06-28 15:35:04 +02:00
Adam Brown 42be961681 applying sanity test filter to the start params 2022-06-21 09:15:28 +01:00
Adam Brown a76b6e522b splitting unit and instrumentation test tasks so that we can configure the android plugin testCoverage parameter
- there's a bug that causes the output to be invalid for unit tests
2022-06-21 09:15:27 +01:00
dependabot[bot] 7908c4ba2e
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 23:05:19 +00:00
Michael Kaye d84b768db3 Don't run tests in the UI folder for coverage. 2022-06-09 23:58:50 +01:00
Michael Kaye 23324990c0 Fix and/&& mixup 2022-06-06 17:55:12 +01:00
Michael Kaye e9cb417cef We still might be flaky; retry entire test run if so. 2022-06-06 17:43:30 +01:00
Michael Kaye 56608d564e Retry ALL THE THINGS, and always send sonarqube 2022-06-06 17:08:02 +01:00
Michael Kaye fd5b7099af Add commented out version of building integration tests for reference. 2022-05-25 14:10:50 +01:00
Michael Kaye ba109a486f Update to build scripts to enable sonarqube reporting including coverage. 2022-05-25 13:35:40 +01:00
dependabot[bot] 4779dd1b0b
Bump actions/setup-java from 2 to 3
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 23:08:51 +00:00
dependabot[bot] 6fd207764d
Bump actions/cache from 2 to 3
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 23:03:30 +00:00