Skip to content

Commit 5cfbda9

Browse files
committed
Added workflow call
1 parent 7f6a496 commit 5cfbda9

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

.github/workflows/action.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Android CI
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
uses: ./.github/workflows/android_experimental_build.yml
11+
12+
test:
13+
uses: ./.github/workflows/maestro_android.yml
14+
needs: build

.github/workflows/android_experimental_build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
name: Build Android Experimental APK
22

33
on:
4-
pull_request:
5-
branches:
6-
- '*'
4+
workflow_call:
75

86
jobs:
9-
android-maestro-test:
7+
android-build:
108
runs-on: ubuntu-latest
119

1210
steps:

.github/workflows/maestro_android.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
name: Maestro Tests on Android
22

33
on:
4-
workflow_run:
5-
workflows: [Build Android Experimental APK]
6-
types:
7-
- completed
4+
workflow_call:
85

96
jobs:
10-
android-maestro-test:
7+
android-test:
118
runs-on: ubuntu-latest
129

1310
steps:
1411
- name: Download APK
15-
uses: actions/download-artifact@v3
12+
uses: actions/download-artifact@v4
1613
with:
1714
name: Android Experimental APK
1815

0 commit comments

Comments
 (0)