Skip to content

Commit 14b711c

Browse files
chore: actions improvements
1 parent ad74164 commit 14b711c

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

.github/workflows/ci_e2e_tests_android.yaml

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,16 @@ jobs:
2222
distribution: 'zulu'
2323
java-version: '17'
2424
architecture: x86_64
25-
cache: 'gradle'
25+
26+
- name: Cache Gradle packages
27+
uses: actions/cache@v3
28+
with:
29+
path: |
30+
~/.gradle/caches
31+
~/.gradle/wrapper
32+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
33+
restore-keys: |
34+
${{ runner.os }}-gradle-
2635
2736
- name: Accept Android Licenses
2837
uses: SimonMarquis/android-accept-licenses@v1
@@ -84,7 +93,16 @@ jobs:
8493
distribution: 'zulu'
8594
java-version: '17'
8695
architecture: x86_64
87-
cache: 'gradle'
96+
97+
- name: Cache Gradle packages
98+
uses: actions/cache@v3
99+
with:
100+
path: |
101+
~/.gradle/caches
102+
~/.gradle/wrapper
103+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
104+
restore-keys: |
105+
${{ runner.os }}-gradle-
88106
89107
- name: Accept Android Licenses
90108
uses: SimonMarquis/android-accept-licenses@v1
@@ -315,10 +333,10 @@ jobs:
315333
# echo "App state check complete, proceeding with Maestro tests..."
316334
317335
echo "Running Maestro native to native tests:"
318-
maestro test .maestro/flows/native/connect_reject.yaml
319-
# maestro test .maestro/flows/native/connect_confirm.yaml
320-
# maestro test .maestro/flows/native/personal_sign_reject.yaml
321-
# maestro test .maestro/flows/native/personal_sign_confirm.yaml
336+
maestro test .maestro/native/connect_reject.yaml
337+
# maestro test .maestro/native/connect_confirm.yaml
338+
# maestro test .maestro/native/personal_sign_confirm.yaml
339+
# maestro test .maestro/native/personal_sign_reject.yaml
322340
323341
# Stop logcat capture
324342
kill $LOGCAT_PID || true

0 commit comments

Comments
 (0)