Skip to content

Commit

Permalink
[ConfigSample] Add logging to gradle commands in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JolandaVerhoef committed Sep 15, 2021
1 parent 0c9fdd2 commit 44527e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/TestConfigurationSample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ jobs:

- name: Run all tests
working-directory: ${{ env.SAMPLE_PATH }}
run: ./gradlew pixel2api29DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
run: ./gradlew -Dorg.gradle.logging.level=(info) pixel2api29DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.notAnnotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen

- name: Run regression tests
working-directory: ${{ env.SAMPLE_PATH }}
run: ./gradlew pixel2api23DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi23
run: ./gradlew -Dorg.gradle.logging.level=(info) pixel2api23DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceApi23

- name: Run large screen tests
working-directory: ${{ env.SAMPLE_PATH }}
run: ./gradlew nexus9api29DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen
run: ./gradlew -Dorg.gradle.logging.level=(info) nexus9api29DebugAndroidTest -Pandroid.experimental.androidTest.useUnifiedTestPlatform=true -Pandroid.testInstrumentationRunnerArguments.annotation=com.example.android.testing.testconfigurationsample.TestDeviceLargeScreen

- name: Upload test reports
if: always()
Expand Down

0 comments on commit 44527e9

Please sign in to comment.