Skip to content

Migrate to 10.9.0

Migrate to 10.9.0 #12

Triggered via pull request November 16, 2023 05:57
Status Failure
Total duration 4m 59s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
windows-latest
[xUnit.net 00:00:03.34] NJsonSchema.CodeGeneration.Tests.CSharp.ValueGeneratorTests.When_property_is_integer_and_no_format_is_available_then_default_value_is_int32 [FAIL]
windows-latest
[xUnit.net 00:00:03.34] NJsonSchema.CodeGeneration.Tests.CSharp.ValueGeneratorTests.When_property_is_string_and_format_is_date_time_then_assign_default_value [FAIL]
windows-latest
[xUnit.net 00:00:03.42] NJsonSchema.CodeGeneration.Tests.CSharp.AllOfTests.When_more_properties_are_defined_in_allOf_and_type_none_then_all_of_contains_all_properties_in_generated_code [FAIL]
windows-latest
[xUnit.net 00:00:03.27] NJsonSchema.Tests.Validation.EnumValidationTests.When_enumeration_doesnt_have_null_and_value_is_null_then_validation_fails [FAIL]
windows-latest
[xUnit.net 00:00:03.48] NJsonSchema.CodeGeneration.Tests.CSharp.NullableEnumTests.When_Swagger2_enum_property_is_not_required_then_it_is_nullable [FAIL]
windows-latest
[xUnit.net 00:00:03.49] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:03.50] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_ArgumentOutOfRangeException_is_thrown_then_it_is_serialized_with_all_properties [FAIL]
windows-latest
[xUnit.net 00:00:03.51] NSwag.Core.Tests.Converters.JsonExceptionConverterTests.When_custom_exception_is_serialized_then_everything_works [FAIL]
windows-latest
[xUnit.net 00:00:03.53] NJsonSchema.Tests.Validation.NullPropertyTests.When_object_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
[xUnit.net 00:00:03.54] NJsonSchema.Tests.Validation.NullPropertyTests.When_number_property_can_be_null_then_null_is_allowed(schemaType: Swagger2) [FAIL]
windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\Generation\SystemTextJsonUtilities.cs(46,37): warning CS0618: 'StringEnumConverter.StringEnumConverter(bool)' is obsolete: 'StringEnumConverter(bool) is obsolete. Create a converter with StringEnumConverter(NamingStrategy, bool) instead.' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\NJsonSchema.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\Generation\SystemTextJsonUtilities.cs(46,37): warning CS0618: 'StringEnumConverter.StringEnumConverter(bool)' is obsolete: 'StringEnumConverter(bool) is obsolete. Create a converter with StringEnumConverter(NamingStrategy, bool) instead.' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema\NJsonSchema.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo.Performance\Program.cs(15,35): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Demo.Performance\NJsonSchema.Demo.Performance.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(100,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(12,18): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(19,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_schema_has_references_it_works(string, string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(36,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_OpenAPI_spec_has_external_schema_refs_they_are_resolved(string, string, string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\References\YamlReferencesTests.cs(67,27): warning CS1591: Missing XML comment for publicly visible type or member 'LocalReferencesTests.When_yaml_OpenAPI_spec_has__relative_external_schema_refs_in_subdirs__they_are_resolved(string)' [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Yaml.Tests\NJsonSchema.Yaml.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Generation\FlattenInheritanceHierarchyTests.cs(20,35): warning CS0108: 'FlattenInheritanceHierarchyTests.Teacher.Schedule' hides inherited member 'FlattenInheritanceHierarchyTests.Person.Schedule'. Use the new keyword if hiding was intended. [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\Generation\SchemaGenerationTests.cs(212,25): warning CS0169: The field 'SchemaGenerationTests.ClassWithPrivateDataMember2._myField' is never used [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.Tests\NJsonSchema.Tests.csproj]