File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-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 @@ -72,6 +72,7 @@ mod tests {
72
72
. expect ( "Assertion failed: Expected to load the .pnp.cjs file generated by Yarn 4" ) ;
73
73
}
74
74
75
+ #[ cfg( not( target_os = "windows" ) ) ]
75
76
#[ test]
76
77
fn test_resolve_unqualified ( ) {
77
78
let expectations_path = std:: env:: current_dir ( )
@@ -150,7 +151,6 @@ mod tests {
150
151
}
151
152
}
152
153
153
-
154
154
#[ test]
155
155
fn test_parse_single_package_name ( ) {
156
156
let parsed = parse_bare_identifier ( "pkg" ) ;
You can’t perform that action at this time.
0 commit comments