Simon Marquis
ae50f3d332
Remove benchmark androidTest task exclusion
...
Task `:benchmark:connectedDemoBenchmarkAndroidTest` is not part of the `connectedDemoDebugAndroidTest` task graph and can therefore safely be removed.
2 years ago
Simon Marquis
deab03e217
Merge branch 'main' into SimonMarquis-patch-1
2 years ago
Simon Marquis
1e75be21e7
Add missing steps in `AndroidCIWithGmd.yaml`
...
- `gradle/wrapper-validation-action`
- copy CI's `gradle.properties` file
And restore explicit steps names.
2 years ago
Milosz Moczkowski
647b6f8b36
Merge pull request #570 from SimonMarquis/ci/androidTest
...
Improve `androidTest` step of `Build` action by pre-packaging apps before spawning the emulator
2 years ago
Don Turner
825c32941c
Merge pull request #702 from SimonMarquis/gmd/ci-group
...
Create and use CI specific group of GMD devices
2 years ago
Don Turner
7c287c9c17
Merge pull request #703 from SimonMarquis/fix/instrumented-tests-reports
...
Fix instrumented test reports archives
2 years ago
Simon Marquis
1269b29aee
Fix incomplete build reports
...
- Add all generated lint reports (only app was archived)
- Add all unit tests reports (none were archived)
- Add all APKs (missing app-nia-catalog) and remove unnecessary files (logs, sdkDependencies, proguard's config/mapping/seeds etc. which are also quite large compared to APKs)
2 years ago
Simon Marquis
cd6931d673
Fix instrumented test reports archives
...
- Fixes missing tests reports from `AndroidCIWithGmd.yaml`
```
Warning: No files were found with the provided path: '**/*/build/reports/androidTests/'. No artifacts will be uploaded.
```
- Fixes missing tests reports from `Build.yaml`, where only top-level tests from `:app` were reported.
2 years ago
Simon Marquis
4550743fac
Create and use CI specific group of GMD devices
...
This should reduce the total CI time of `AndroidCIWithGmd` workflow.
Using the matrix strategy at the GitHub Actions level forces us to run the tests sequentially and download/rebuild everything from scratch at each iteration.
2 years ago
Simon Marquis
ef27c050b6
Add missing gradle/gradle-build-action setup in AndroidCIWithGmd.yaml
...
This will prevent downloading and unzipping Gradle distribution but fetch it from the cache instead like other workflows.
2 years ago
Simon Marquis
a68fe38411
Use dedicated build step to package test apps before spawning the emulator
2 years ago
Simon Marquis
42ba433be3
Add missing gradle/gradle-build-action setup in AndroidCIWithGmd.yaml
...
This will prevent downloading and unzipping Gradle distribution but fetch it from the cache instead like other workflows.
2 years ago
Simon Marquis
246d6c6528
Use dedicated build step to package test apps before spawning the emulator
2 years ago
Alex Vanyo
086dc957c0
Update to AGP 8.0
...
Change-Id: I27eb106e484e2003d732782a39612dc72c845282
2 years ago
Simon Marquis
e5d29547a1
Remove debug logs from CI workflow
...
Closes #584
2 years ago
Adetunji Dahunsi
9f1e1889cb
Run build tests with the Demo variant
2 years ago
Alex Vanyo
ded79e617e
Add Pixel C API 30 emulator to CI
...
Change-Id: If386c899496433d4e179111c0230905b36db7c50
2 years ago
Alex Vanyo
6146dd5576
Switch GMD to use a convention plugin
...
Change-Id: Ia4f94cd7533c9168752ee39e3f960108fe802ab4
2 years ago
Mohsen Rzna
46c1d510d4
Android-CI workflow -> GMD refactor ( #537 )
...
This PR is about updating the operating system to macOS-12 as the previous one was going to be deprecated, as well as updating the checkout to v3 to avoid the warnings in the panel; adding setup SDK action to accept the license which was missing from the beginning.
I also added imports instead of adding them directly with the codes.
As a reference, there was another PR with a similar topic, but it wasn't complete: #483
2 years ago
Takeshi Hagikura
4633609930
Introduce GMD + ATD ( #479 )
...
Introduce Gradle Managed Device definitions to modules that have instrumented tests.
At the moment, defining it as a convention plugin isn't possible due to the bug. That bug is now fixed and will be included in Android Studio Flamingo.
Once Flamingo becomes stable, convert the GMD definitions as a convention plugin (#523 )
Change-Id: I0866369e3d0bbe148ca5ec1f92bad59239a347b8
2 years ago
Don Turner
ab78c44e79
Remove API 23 from CI due to flakiness
2 years ago
Don Turner
dcf0bf475a
Remove --stacktrace from CI as it's difficult to find the error
...
Change-Id: Ie7be474a24367b17658a04a281bf8051f3f5ffd1
2 years ago
Jolanda Verhoef
e117edeac2
Revert version upgrade of objenesis and protobuf-plugin
2 years ago
Jolanda Verhoef
a90b4db98a
Merge pull request #381 from android/jv/renovate-setup
...
Setup Renovate to group all updates and update on a daily basis.
2 years ago
Jolanda Verhoef
6a409bbeec
Setup Renovate to group all updates and update on a daily basis.
2 years ago
Don Turner
cb856b98f3
Increase emulator disk space to 6G in attempt to fix #354
2 years ago
Adetunji Dahunsi
c4debb74e7
Give feedback when syncing on ForYouScreen
...
Change-Id: I10a646e8a17f81d96351e69d36f0cb6ccf28e05c
2 years ago
Don Turner
6e772db716
Update failing lint command
2 years ago
Wojtek Kaliciński
4c64a05897
Update to AGP 7.3.0 stable
...
Enables Gradle configuration cache.
Fix "no name set for build-config" warning.
Fix printing of test APKs due to AGP 7.3 changes
Change-Id: I65ec0cb9eba3d047417fc512ffeb66d378ba0c75
2 years ago
Wojtek Kaliciński
4683918cc7
Move spotless to init script
...
Also adds automatic git hooks installation
Change-Id: I18debbee43af27db7b95a4202f824fa87e186713
2 years ago
Jose Alcérreca
61a03f3d0f
CI - Fixes name in test reports ( #268 )
2 years ago
Alex Vanyo
4f5d35ccf9
Merge pull request #120 from android/renovate/actions-setup-java-3.x
...
Update actions/setup-java action to v3
2 years ago
Jolanda Verhoef
ac1471476a
Only use gradle.properties to read warningsAsErrors
2 years ago
Jolanda Verhoef
ce5875cef8
Read gradle property as string instead of boolean, gradle sync fails otherwise.
2 years ago
Jolanda Verhoef
87affa5593
Read warningsAsErrors from local.properties or gradle.properties, and default to false
2 years ago
Jolanda Verhoef
658843d07a
Add Java distribution to github action workflows
...
Change-Id: I6ae9e0a50991c60d9f6665bf83ee510934faad27
2 years ago
Jose Alcérreca
c37fdc7ccb
Enables cache, increases disk size
2 years ago
Jolanda Verhoef
e701b9737a
Remove gradle cache to check API23 test behavior
2 years ago
Don Turner
04af0e1e3b
Adding github issue template for documentation issues
2 years ago
renovate[bot]
60106de320
Update actions/setup-java action to v3
2 years ago
Don Turner
5bc50f4b61
Merge pull request #130 from android/av/use-gradle-build-action
...
Update workflow config
2 years ago
Alex Vanyo
171710b1a5
Update ci-gradle.properties to fix daemon disappearing issues on CI
...
Change-Id: Id7fcbfcfe73c2a5e98c0f75c53433ebdd036aec1
2 years ago
Caren
953856acea
Add stacktrace for test command
2 years ago
Alex Vanyo
346248f79b
Merge branch 'main' into av/use-gradle-build-action
2 years ago
Tomáš Mlynarič
86dc03f556
Fix CI pipeline
...
Change-Id: I4a7ddadeb7d824874cab8855fc735408263ad818
3 years ago
Jolanda Verhoef
56268ade5e
Merge pull request #121 from android/renovate/actions-upload-artifact-3.x
...
Update actions/upload-artifact action to v3
3 years ago
Alex Vanyo
f122287d56
Merge branch 'main' into av/use-gradle-build-action
3 years ago
Jolanda Verhoef
6a0f15fe55
Merge pull request #118 from android/renovate/actions-cache-3.x
...
Update actions/cache action to v3
3 years ago
Alex Vanyo
de506119a6
Release release APK
...
Change-Id: Ic54b843587281a29b58683f9ae9de02dbce13edc
3 years ago
Alex Vanyo
fab95a2498
Update workflows for flavor configuration
...
Change-Id: I0e9fe55b2e3767223bea44a6ebd3c9e2e5ee2be0
3 years ago