File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 11
11
run-tests :
12
12
name : Run MongoDB tests
13
13
if : github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.head.repo.full_name != github.repository
14
- runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, macos-latest, windows-latest]
17
+ fail-fast : false
18
+ runs-on : ${{ matrix.os }}
15
19
steps :
16
20
- uses : GitHubSecurityLab/actions-permissions/monitor@v1
21
+ if : matrix.os != 'windows-latest'
17
22
- uses : actions/checkout@v4
18
23
- uses : actions/setup-node@v4
19
24
with :
24
29
- name : Run tests
25
30
run : npm test
26
31
- name : Upload test results
27
- if : always()
32
+ if : always() && matrix.os == 'ubuntu-latest'
28
33
uses : actions/upload-artifact@v4
29
34
with :
30
35
name : test-results
You can’t perform that action at this time.
0 commit comments