Skip to content

Commit 9a45a0f

Browse files
committed
try making each app run as a different job
1 parent 5f700b4 commit 9a45a0f

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/Test.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,29 @@ name: Test Apps
22

33
on:
44
push:
5-
branches:
6-
- main
5+
branches: [ main ]
76
pull_request:
87

8+
concurrency:
9+
group: test-apps-${{ github.ref }}
10+
cancel-in-progress: true
11+
912
jobs:
10-
androidTest:
13+
android-tests:
14+
name: Android Tests (${{ matrix.app }})
1115
runs-on: ubuntu-latest
1216
timeout-minutes: 30
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
app: [ JetLagged, JetNews, Jetsnack, Jetchat ]
1321
steps:
1422
- uses: coursier/cache-action@v6
1523
- uses: actions/checkout@v4
1624
- uses: ./.github/actions/android-setup
1725
- uses: ./.github/actions/mill-android-test
1826
with:
19-
app-name: JetLagged
20-
- uses: ./.github/actions/mill-android-test
21-
with:
22-
app-name: JetNews
23-
- uses: ./.github/actions/mill-android-test
24-
with:
25-
app-name: Jetsnack
26-
- uses: ./.github/actions/mill-android-test
27-
with:
28-
app-name: Jetchat
27+
app-name: ${{ matrix.app }}
2928
- name: Publish Test Report
3029
uses: mikepenz/action-junit-report@v5
3130
if: (!cancelled())
@@ -36,5 +35,3 @@ jobs:
3635
annotate_only: true
3736
require_tests: false
3837
report_paths: 'out/**/test-report.xml'
39-
40-

0 commit comments

Comments
 (0)