File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 1- name : Compile and run unit tests
1+ name : Compile and run tests
22
33permissions : read-all
44
1010
1111jobs :
1212 run-tests :
13- runs-on : ubuntu-latest
14-
13+ name : Tests on ${{ matrix.os }}
14+ runs-on : ${{ matrix.os }}
15+ strategy :
16+ fail-fast : false
17+ matrix :
18+ os :
19+ - ubuntu-latest
20+ - windows-latest
21+ - macos-latest
1522 steps :
1623 - name : Check out repository
1724 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2835 run : npm ci
2936
3037 - name : Disable AppArmor
38+ if : ${{ matrix.os == 'ubuntu-latest' }}
3139 run : echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
3240
33- - name : Build the project
34- run : npm run build
35-
3641 - name : Run tests
3742 run : npm run test
You can’t perform that action at this time.
0 commit comments