Skip to content

Commit fe1353f

Browse files
authored
Update master.yml
1 parent b3402ef commit fe1353f

File tree

1 file changed

+28
-4
lines changed

1 file changed

+28
-4
lines changed

.github/workflows/master.yml

Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ on:
1212

1313
jobs:
1414
linux:
15+
strategy:
16+
matrix:
17+
project:
18+
- kotest-allure
19+
- kotest-javascript
20+
- kotest-multiplatform
21+
- kotest-native
22+
- kotest-spring-webflux
1523
runs-on: ubuntu-latest
1624
steps:
1725
- name: Checkout the repo
@@ -26,7 +34,7 @@ jobs:
2634
java-version: '17'
2735

2836
- name: Run tests
29-
run: ./gradlew check
37+
run: ./${{ matrix.project }}/gradlew check
3038

3139
- name: Bundle the build report
3240
if: failure()
@@ -40,7 +48,15 @@ jobs:
4048
path: build-reports.zip
4149

4250
macos:
43-
runs-on: macos-14
51+
runs-on: macos-latest
52+
strategy:
53+
matrix:
54+
project:
55+
- kotest-allure
56+
- kotest-javascript
57+
- kotest-multiplatform
58+
- kotest-native
59+
- kotest-spring-webflux
4460
steps:
4561
- name: Checkout the repo
4662
uses: actions/checkout@v4
@@ -54,7 +70,7 @@ jobs:
5470
java-version: '17'
5571

5672
- name: Run macos tests
57-
run: ./gradlew macosX64Test
73+
run: ./${{ matrix.project }}/gradlew macosX64Test
5874

5975
- name: Bundle the build report
6076
if: failure()
@@ -69,6 +85,14 @@ jobs:
6985

7086
windows:
7187
runs-on: windows-latest
88+
strategy:
89+
matrix:
90+
project:
91+
- kotest-allure
92+
- kotest-javascript
93+
- kotest-multiplatform
94+
- kotest-native
95+
- kotest-spring-webflux
7296
steps:
7397
- name: Checkout the repo
7498
uses: actions/checkout@v4
@@ -82,7 +106,7 @@ jobs:
82106
java-version: '17'
83107

84108
- name: Run tests
85-
run: ./gradlew mingwX64Test
109+
run: ./${{ matrix.project }}/gradlew mingwX64Test
86110

87111
- name: Bundle the build report
88112
if: failure()

0 commit comments

Comments
 (0)