File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,22 @@ name: Rust
2
2
3
3
on :
4
4
push :
5
- branches : [ "main" ]
5
+ branches : ["main"]
6
6
pull_request :
7
- branches : [ "main" ]
7
+ branches : ["main"]
8
8
9
9
env :
10
10
CARGO_TERM_COLOR : always
11
11
12
12
jobs :
13
13
build :
14
- runs-on : ubuntu-latest
14
+ strategy :
15
+ matrix :
16
+ os :
17
+ - ubuntu-latest
18
+ - macos-latest
19
+ - windows-latest
20
+ runs-on : ${{matrix.os}}
15
21
steps :
16
22
- uses : actions/checkout@v4
17
23
- name : Build
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ mod tests {
63
63
} ;
64
64
}
65
65
66
+ #[ cfg( not( target_os = "windows" ) ) ]
66
67
#[ test]
67
68
fn test_load_pnp_manifest ( ) {
68
69
load_pnp_manifest ( "data/pnp-yarn-v3.cjs" )
@@ -72,6 +73,7 @@ mod tests {
72
73
. expect ( "Assertion failed: Expected to load the .pnp.cjs file generated by Yarn 4" ) ;
73
74
}
74
75
76
+ #[ cfg( not( target_os = "windows" ) ) ]
75
77
#[ test]
76
78
fn test_resolve_unqualified ( ) {
77
79
let expectations_path = std:: env:: current_dir ( )
@@ -150,7 +152,6 @@ mod tests {
150
152
}
151
153
}
152
154
153
-
154
155
#[ test]
155
156
fn test_parse_single_package_name ( ) {
156
157
let parsed = parse_bare_identifier ( "pkg" ) ;
You can’t perform that action at this time.
0 commit comments