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
22
33on :
44 push :
5- branches : [ "main" ]
5+ branches : ["main"]
66 pull_request :
7- branches : [ "main" ]
7+ branches : ["main"]
88
99env :
1010 CARGO_TERM_COLOR : always
1111
1212jobs :
1313 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}}
1521 steps :
1622 - uses : actions/checkout@v4
1723 - name : Build
Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ mod tests {
6363 } ;
6464 }
6565
66+ #[ cfg( not( target_os = "windows" ) ) ]
6667 #[ test]
6768 fn test_load_pnp_manifest ( ) {
6869 load_pnp_manifest ( "data/pnp-yarn-v3.cjs" )
@@ -72,6 +73,7 @@ mod tests {
7273 . expect ( "Assertion failed: Expected to load the .pnp.cjs file generated by Yarn 4" ) ;
7374 }
7475
76+ #[ cfg( not( target_os = "windows" ) ) ]
7577 #[ test]
7678 fn test_resolve_unqualified ( ) {
7779 let expectations_path = std:: env:: current_dir ( )
@@ -150,7 +152,6 @@ mod tests {
150152 }
151153 }
152154
153-
154155 #[ test]
155156 fn test_parse_single_package_name ( ) {
156157 let parsed = parse_bare_identifier ( "pkg" ) ;
You can’t perform that action at this time.
0 commit comments