Skip to content

Commit 6d8f1b4

Browse files
committed
Add Expo tests to CI test matrix
1 parent 82cd179 commit 6d8f1b4

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

.github/workflows/ci-test.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@ jobs:
2424
android-test:
2525
needs: lint
2626
runs-on: bitrise-react-native-code-push-linux-runner
27+
strategy:
28+
matrix:
29+
variant: [bare, expo]
30+
include:
31+
- variant: bare
32+
test-command: test:android
33+
- variant: expo
34+
test-command: test:expo:android
2735
steps:
2836
- uses: actions/checkout@v7
2937

@@ -50,11 +58,19 @@ jobs:
5058
target: google_apis
5159
arch: x86
5260
disable-animations: true
53-
script: npm run test:android
61+
script: npm run ${{ matrix.test-command }}
5462

5563
ios-test:
5664
needs: lint
5765
runs-on: bitrise-react-native-code-push-macos-runner
66+
strategy:
67+
matrix:
68+
variant: [bare, expo]
69+
include:
70+
- variant: bare
71+
test-command: test:ios
72+
- variant: expo
73+
test-command: test:expo:ios
5874
steps:
5975
- uses: actions/checkout@v7
6076

@@ -63,4 +79,4 @@ jobs:
6379
- name: Run iOS Tests
6480
run: |
6581
npm install
66-
npm run test:ios
82+
npm run ${{ matrix.test-command }}

0 commit comments

Comments
 (0)