Skip to content

Commit 95c1e44

Browse files
committedMar 18, 2022
[TestConfigurationSample] Run GMD tasks with flag to disable hardware rendering as Github Actions doesn't support that.
1 parent 68819c2 commit 95c1e44

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎.github/workflows/TestConfigurationSample.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ jobs:
9595

9696
- name: Run all tests
9797
working-directory: ${{ env.SAMPLE_PATH }}
98-
run: ./gradlew pixel2api30DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen --info
98+
run: ./gradlew pixel2api30DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" --info
9999

100100
- name: Run regression tests
101101
working-directory: ${{ env.SAMPLE_PATH }}
102-
run: ./gradlew -i pixel2api26DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi26
102+
run: ./gradlew -i pixel2api26DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi26 -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
103103

104104
- name: Run large screen tests
105105
working-directory: ${{ env.SAMPLE_PATH }}
106-
run: ./gradlew -i nexus9api29DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
106+
run: ./gradlew -i nexus9api29DebugAndroidTest -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect"
107107

108108
- name: Upload test reports
109109
if: always()

0 commit comments

Comments
 (0)