Skip to content

Commit 5930534

Browse files
feat: add TestPath and TestName properties to settings schema
1 parent 5dc37f8 commit 5930534

1 file changed

Lines changed: 28 additions & 1 deletion

File tree

scripts/Settings.schema.json

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@
225225
{
226226
"type": "array",
227227
"items": {
228-
"$ref": "#/definitions/testSuite"
228+
"$ref": "#/definitions/moduleTestSuite"
229229
}
230230
}
231231
]
@@ -378,6 +378,33 @@
378378
"RunsOn",
379379
"OSName"
380380
]
381+
},
382+
"moduleTestSuite": {
383+
"type": "object",
384+
"properties": {
385+
"RunsOn": {
386+
"type": "string",
387+
"description": "GitHub Actions runner to use"
388+
},
389+
"OSName": {
390+
"type": "string",
391+
"description": "Operating system name"
392+
},
393+
"TestPath": {
394+
"type": "string",
395+
"description": "Relative path to the test file"
396+
},
397+
"TestName": {
398+
"type": "string",
399+
"description": "Name of the test"
400+
}
401+
},
402+
"required": [
403+
"RunsOn",
404+
"OSName",
405+
"TestPath",
406+
"TestName"
407+
]
381408
}
382409
}
383410
}

0 commit comments

Comments
 (0)