Skip to content

Commit

Permalink
Exclude whole workflow for l10n_master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
flauschtrud committed Dec 10, 2024
1 parent 97e0402 commit a92b8c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
name: Android CI

on:
push
push:
branches-ignore:
- 'l10n_master'

jobs:
build:
Expand All @@ -26,15 +28,12 @@ jobs:
java-version: 17

- name: Run Unit Tests
if: ${{ !contains(github.ref, 'l10n_master') }}
run: bash ./gradlew testFdroidDebugUnitTest

- name: Accept Licenses
if: ${{ !contains(github.ref, 'l10n_master') }}
run: yes | $ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager --licenses || true

- name: Run UI Tests
if: ${{ !contains(github.ref, 'l10n_master') }}
run: bash ./gradlew allDevicesFdroidDebugAndroidTest -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect -Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true -Pandroid.experimental.testOptions.managedDevices.maxConcurrentDevices=1 -Pandroid.experimental.testOptions.managedDevices.setupTimeoutMinutes=180

- name: Assemble App Debug APK
Expand Down

0 comments on commit a92b8c6

Please sign in to comment.