Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0c9fdd2
[ConfigSample] Initial commit
JolandaVerhoef Sep 14, 2021
6f55b48
[ConfigSample] Add logging to gradle commands in Github Actions
JolandaVerhoef Sep 15, 2021
62d4253
[ConfigSample] Upgrade Gradle plugin and remove opt-in parameter
JolandaVerhoef Sep 16, 2021
d20a9b7
[ConfigSample] Change API level to 26 which is supported
JolandaVerhoef Sep 16, 2021
b121ae5
[ConfigSample] Try out caching
JolandaVerhoef Oct 6, 2021
a908ff1
[ConfigSample] Use wildcard in cache path
JolandaVerhoef Oct 7, 2021
1c5241b
[ConfigSample] Use ubuntu image as hardware acceleration is not needed
JolandaVerhoef Oct 7, 2021
7899cc5
[ConfigSample] Update versions
JolandaVerhoef Oct 26, 2021
d990d5e
[TestConfigurationSample] Upgrade to AGP alpha03
JolandaVerhoef Nov 9, 2021
728a4e5
[TestConfigurationSample] Upgrade to AGP alpha04
JolandaVerhoef Nov 10, 2021
5023df2
Revert "[ConfigSample] Use ubuntu image as hardware acceleration is n…
JolandaVerhoef Nov 10, 2021
2a4b086
[TestConfigurationSample] Provide emulator logs as artifact on failin…
JolandaVerhoef Nov 15, 2021
972c596
[TestConfigurationSample] Provide emulator logs as artifact on failin…
JolandaVerhoef Nov 15, 2021
dfb8fad
[TestConfigurationSample] Upgrade to AGP alpha06
JolandaVerhoef Dec 16, 2021
5f53fdf
[TestConfigurationSample] Upgrade to AGP alpha07
JolandaVerhoef Jan 13, 2022
9805b89
[TestConfigurationSample] Upgrade to AGP 7.3.0-alpha05
JolandaVerhoef Mar 9, 2022
339d550
[TestConfigurationSample] Upgrade to AGP 7.3.0-alpha06
JolandaVerhoef Mar 15, 2022
68819c2
[TestConfigurationSample] Upgrade to AGP 7.3.0-alpha07
JolandaVerhoef Mar 18, 2022
95c1e44
[TestConfigurationSample] Run GMD tasks with flag to disable hardware…
JolandaVerhoef Mar 18, 2022
ad8d6c7
[TestConfigurationSample] Change API26 to API27 as 26 is not supported
JolandaVerhoef Mar 18, 2022
9398a17
[TestConfigurationSample] Set max workers to 2 as per recommendation
JolandaVerhoef Mar 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[ConfigSample] Change API level to 26 which is supported
  • Loading branch information
JolandaVerhoef committed Sep 16, 2021
commit d20a9b7f684af8ca2e56e75798aab82d263432e5
2 changes: 1 addition & 1 deletion .github/workflows/TestConfigurationSample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:

- name: Run regression tests
working-directory: ${{ env.SAMPLE_PATH }}
run: ./gradlew -i pixel2api23DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi23
run: ./gradlew -i pixel2api26DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi26

- name: Run large screen tests
working-directory: ${{ env.SAMPLE_PATH }}
Expand Down
4 changes: 2 additions & 2 deletions TestConfigurationSample/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ android {
systemImageSource = "aosp"
abi = "x86"
}
pixel2api23(ManagedVirtualDevice) {
pixel2api26(ManagedVirtualDevice) {
device = "Pixel 2"
apiLevel = 23
apiLevel = 26
systemImageSource = "aosp"
abi = "x86"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ class MainActivityTests {
*
* See the Github Actions setup of this project for an example.
*/
@Test @TestDeviceApi23
fun regressionTestKnownIssueApi23() {
@Test @TestDeviceApi26
fun regressionTestKnownIssueApi26() {
// Add instrumented tests here
runBlocking { delay(10000) }
Assert.assertTrue(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
package com.example.android.testing.testconfigurationsample

/**
* Annotate tests with this annotation when testing API 23 regression bugs.
* Annotate tests with this annotation when testing API 26 regression bugs.
*/
annotation class TestDeviceApi23
annotation class TestDeviceApi26

/**
* Annotate tests with this annotation when testing large-screen specific features.
Expand Down