Skip to content

Commit

Permalink
#9: mark build as failed when IT tests faild
Browse files Browse the repository at this point in the history
  • Loading branch information
arburk committed Jan 7, 2024
1 parent 5c6e3b4 commit 00fc1a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/android_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
sudo udevadm trigger --name-match=kvm
- name: Perfom instrumented tests
id: perform-it
continue-on-error: true
if: steps.check_pr.outputs.pr_exists_or_main_branch != 0
run: ./gradlew supportedSdksGroupDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" -Pandroid.experimental.testOptions.managedDevices.emulators.emulator.showKernelLogging=true --info
Expand All @@ -86,3 +87,7 @@ jobs:
name: Reports
path: ${{ github.workspace }}/app/build/reports/
retention-days: 14

- name: Check on CI failure
if: steps.perform-it.outcome != 'success'
run: exit 1

0 comments on commit 00fc1a8

Please sign in to comment.