File tree Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Expand file tree Collapse file tree 1 file changed +8
-17
lines changed Original file line number Diff line number Diff line change @@ -18,29 +18,20 @@ jobs:
1818 node-version : lts/jod
1919 - run : npm ci
2020 - run : npm run lint
21- test-simple :
22- name : Run tests which doesn't require MacOS
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@v4
26- - uses : actions/setup-node@v4
27- with :
28- node-version : lts/jod
29- - run : npm ci
30- - run : npm run build
31- - run : npm test --workspace gyp-to-cmake --workspace cmake-rn --workspace react-native-node-api
32- test-windows :
33- name : Run tests on Windows
34- runs-on : windows-latest
21+ simple-tests :
22+ strategy :
23+ matrix :
24+ runner : [ubuntu-latest, windows-latest, macos-latest]
25+ name : Run simple tests (${{ matrix.runner }})
26+ runs-on : ${{ matrix.runner }}
3527 steps :
3628 - uses : actions/checkout@v4
3729 - uses : actions/setup-node@v4
3830 with :
3931 node-version : lts/jod
4032 - run : npm ci
4133 - run : npm test -- --exclude @react-native-node-api/node-addon-examples
42-
43- test-macos :
34+ macos-tests :
4435 name : Run tests which requires MacOS
4536 runs-on : macos-latest
4637 steps :
5849 # Version here should match the one in React Native template and packages/cmake-rn/src/cli.ts
5950 - run : sdkmanager --install "ndk;27.1.12297006"
6051 - run : npm ci
61- - run : npm test
52+ - run : npm test -- -p @react-native-node-api/node-addon-examples
You can’t perform that action at this time.
0 commit comments