Skip to content

Commit 1769e3c

Browse files
feat: add detailed test configurations for multiple OS in Settings.json
1 parent ed389fd commit 1769e3c

1 file changed

Lines changed: 38 additions & 1 deletion

File tree

tests/Settings.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,44 @@
108108
"OSName": "Windows"
109109
}
110110
],
111-
"Module": null
111+
"Module": [
112+
{
113+
"RunsOn": "ubuntu-latest",
114+
"OSName": "Linux",
115+
"TestPath": "./tests/Environment.Tests.ps1",
116+
"TestName": "Environment"
117+
},
118+
{
119+
"RunsOn": "macos-latest",
120+
"OSName": "macOS",
121+
"TestPath": "./tests/Environment.Tests.ps1",
122+
"TestName": "Environment"
123+
},
124+
{
125+
"RunsOn": "windows-latest",
126+
"OSName": "Windows",
127+
"TestPath": "./tests/Environment.Tests.ps1",
128+
"TestName": "Environment"
129+
},
130+
{
131+
"RunsOn": "ubuntu-latest",
132+
"OSName": "Linux",
133+
"TestPath": "./tests/PSModuleTest.Tests.ps1",
134+
"TestName": "PSModuleTest"
135+
},
136+
{
137+
"RunsOn": "macos-latest",
138+
"OSName": "macOS",
139+
"TestPath": "./tests/PSModuleTest.Tests.ps1",
140+
"TestName": "PSModuleTest"
141+
},
142+
{
143+
"RunsOn": "windows-latest",
144+
"OSName": "Windows",
145+
"TestPath": "./tests/PSModuleTest.Tests.ps1",
146+
"TestName": "PSModuleTest"
147+
}
148+
]
112149
},
113150
"SettingsPath": "./tests/PSModule.yml",
114151
"Debug": "false",

0 commit comments

Comments
 (0)