Skip to content

wip: build schema using NJsonSchema #194

wip: build schema using NJsonSchema

wip: build schema using NJsonSchema #194

Triggered via push August 22, 2023 00:45
Status Failure
Total duration 5m 25s
Artifacts

macos-latest.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
macos-latest
[xUnit.net 00:00:02.29] Nuke.Common.Tests.SchemaUtilityTest.TestGetBuildSchema [FAIL]
Nuke.Common.Tests.SchemaUtilityTest.TestGetBuildSchema: source/Nuke.Build.Tests/Nuke.Build.Tests.csproj#L1
VerifyException : Directory: /Users/runner/work/nuke/nuke/source/Nuke.Build.Tests NotEqual: - Received: SchemaUtilityTest.TestGetBuildSchema.received.json Verified: SchemaUtilityTest.TestGetBuildSchema.verified.json FileContent: NotEqual: Received: SchemaUtilityTest.TestGetBuildSchema.received.json Verified: SchemaUtilityTest.TestGetBuildSchema.verified.json Compare Result: { "$schema": "http://json-schema.org/draft-04/schema#", "$ref": "#/definitions/build", "title": "Build Schema", "definitions": { "build": { "type": "object", "properties": { - "BoolParam": { + "BooleanParam": { "type": "boolean" + }, + "ComplexTypeArrayParam": { + "type": "array", + "items": { + "type": "string" + } }, - "ComplexParam": { + "ComplexTypeParam": { "type": "string" }, "ComponentInheritedParam": { "type": "string" }, "Continue": { "type": "boolean", "description": "Indicates to continue a previously failed build attempt" + }, + "CustomEnumerationArrayParam": { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Debug", + "Release" + ] + } + }, + "CustomEnumerationParam": { + "type": "string", + "enum": [ + "Debug", + "Release" + ] }, "Help": { "type": "boolean", "description": "Shows the help text for this build assembly" }, "Host": { "type": "string", - "description": "Host for execution. Default is 'automatic'", - "enum": [ - "Rider", - "Terminal", - "VisualStudio", - "VSCode" - ] + "description": "Host for execution. Default is 'automatic'" + }, + "IntegerArrayParam": { + "type": "array", + "items": { + "type": "integer" + } }, "NoLogo": { "type": "boolean", "description": "Disables displaying the NUKE logo" }, - "NullableBoolParam": { + "NullableBooleanParam": { "type": "boolean" }, - "NullableIntegerParam": { - "type": "integer" - }, "Partition": { "type": "string", "description": "Partition to use on CI" }, "Plan": { "type": "boolean", "description": "Shows the execution plan (HTML)" }, "Profile": { "type": "array", "description": "Defines the profiles to load", "items": { "type": "string" } + }, + "RegularParam": { + "type": "string" }, "Root": { "type": "string", "description": "Root directory during build execution" }, - "Secret": { + "SecretParam": { "type": "string", "default": "Secrets must be entered via 'nuke :secrets [profile]'" }, "Skip": { "type": "array", "description": "List of targets to be skipped. Empty list skips all dependencies", "items": { - "type": "string", + "type": "string" - "enum": [ - "ExplicitTarget", - "ImplementedTarget", - "InheritedTarget", - "RegularTarget" - ] } }, - "StringParam": { + "StringArrayParam": { + "type": "array", + "items": { "type": "string" + } }, "Target": { "type": "array", "description": "List of targets to be invoked. Default is '{default_target}'", -
macos-latest
Target "Test" has thrown an exception
macos-latest
Process completed with exit code 255.
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(222,42): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.ComplexTypeParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(237,31): warning CS0649: Field 'SchemaUtilityTest.ComplexType.SubObject' is never assigned to, and will always have its default value null [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(223,44): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.ComplexTypeArrayParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(217,36): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.IntegerArrayParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(214,36): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.NullableBooleanParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(211,46): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.SecretParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(219,48): warning CS0169: The field 'SchemaUtilityTest.ParameterBuild.CustomEnumerationParam' is never used [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(234,23): warning CS0649: Field 'SchemaUtilityTest.ComplexType.String' is never assigned to, and will always have its default value null [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(242,22): warning CS0649: Field 'SchemaUtilityTest.ComplexSubType.Boolean' is never assigned to, and will always have its default value [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]
macos-latest
/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/SchemaUtilityTest.cs(235,20): warning CS0649: Field 'SchemaUtilityTest.ComplexType.Number' is never assigned to, and will always have its default value 0 [/Users/runner/work/nuke/nuke/source/Nuke.Build.Tests/Nuke.Build.Tests.csproj]