Get build running on Linux and MacOS #666
pr.yml
on: pull_request
windows-latest
9m 39s
ubuntu-latest
2m 27s
macos-latest
2m 59s
Annotations
18 errors and 33 warnings
ubuntu-latest
[xUnit.net 00:00:00.43] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET60", targetFramework: "net6.0", generatesCode: False) [FAIL]
|
ubuntu-latest
[xUnit.net 00:00:00.56] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70Minimal", targetFramework: "net7.0", generatesCode: True) [FAIL]
|
ubuntu-latest
[xUnit.net 00:00:00.75] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET60Minimal", targetFramework: "net6.0", generatesCode: False) [FAIL]
|
ubuntu-latest
[xUnit.net 00:00:00.87] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70", targetFramework: "net7.0", generatesCode: False) [FAIL]
|
ubuntu-latest
[xUnit.net 00:00:01.02] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
|
ubuntu-latest
[xUnit.net 00:00:01.15] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80", targetFramework: "net8.0", generatesCode: False) [FAIL]
|
ubuntu-latest
Target "Test" has thrown an exception
|
ubuntu-latest
Process completed with exit code 255.
|
macos-latest
[xUnit.net 00:00:01.48] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET60", targetFramework: "net6.0", generatesCode: False) [FAIL]
|
macos-latest
[xUnit.net 00:00:02.93] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70Minimal", targetFramework: "net7.0", generatesCode: True) [FAIL]
|
macos-latest
MSBUILD : error MSB1009: Project file does not exist.
|
macos-latest
[xUnit.net 00:00:03.56] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET60Minimal", targetFramework: "net6.0", generatesCode: False) [FAIL]
|
macos-latest
[xUnit.net 00:00:04.39] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET70", targetFramework: "net7.0", generatesCode: False) [FAIL]
|
macos-latest
MSBUILD : error MSB1009: Project file does not exist.
|
macos-latest
[xUnit.net 00:00:04.71] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80Minimal", targetFramework: "net8.0", generatesCode: True) [FAIL]
|
macos-latest
[xUnit.net 00:00:05.05] NSwag.ConsoleCore.Tests.GenerateSampleSpecificationTests.Should_generate_openapi_for_project(projectName: "NSwag.Sample.NET80", targetFramework: "net8.0", generatesCode: False) [FAIL]
|
macos-latest
Target "Test" has thrown an exception
|
macos-latest
Process completed with exit code 255.
|
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.AspNetCore.Launcher/Program.cs(88,67): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Core.Yaml.Tests/References/YamlReferencesTests.cs(34,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.Core.Yaml.Tests/NSwag.Core.Yaml.Tests.csproj]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/PathItemTests.cs(29,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/ServersSerializationTests.cs(104,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/ServersSerializationTests.cs(83,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/home/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwagCommandProcessor.cs(92,66): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj::TargetFramework=net6.0]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwagCommandProcessor.cs(92,66): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj::TargetFramework=net7.0]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwagCommandProcessor.cs(92,66): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/home/runner/work/NSwag/NSwag/src/NSwag.Commands/NSwag.Commands.csproj::TargetFramework=net8.0]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BindNeverQueryParameterController.cs(11,44): warning CS8625: Cannot convert null literal to non-nullable reference type. [/home/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
ubuntu-latest
/home/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BindNeverQueryParameterController.cs(11,73): warning CS8625: Cannot convert null literal to non-nullable reference type. [/home/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
macos-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.AspNetCore.Launcher/Program.cs(88,67): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/Users/runner/work/NSwag/NSwag/src/NSwag.AspNetCore.Launcher/NSwag.AspNetCore.Launcher.csproj::TargetFramework=net6.0]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/PathItemTests.cs(29,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/ServersSerializationTests.cs(83,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/Serialization/ServersSerializationTests.cs(104,13): warning xUnit2013: Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013) [/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Tests/NSwag.Core.Tests.csproj]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Yaml.Tests/References/YamlReferencesTests.cs(34,28): warning SYSLIB0012: 'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012) [/Users/runner/work/NSwag/NSwag/src/NSwag.Core.Yaml.Tests/NSwag.Core.Yaml.Tests.csproj]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BindNeverQueryParameterController.cs(11,44): warning CS8625: Cannot convert null literal to non-nullable reference type. [/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BindNeverQueryParameterController.cs(11,73): warning CS8625: Cannot convert null literal to non-nullable reference type. [/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BindNeverQueryParameterController.cs(11,131): warning CS8625: Cannot convert null literal to non-nullable reference type. [/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BodyParametersController.cs(16,87): warning CS8625: Cannot convert null literal to non-nullable reference type. [/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
macos-latest
/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/Controllers/Parameters/BodyParametersController.cs(28,80): warning CS8625: Cannot convert null literal to non-nullable reference type. [/Users/runner/work/NSwag/NSwag/src/NSwag.Generation.AspNetCore.Tests.Web/NSwag.Generation.AspNetCore.Tests.Web.csproj::TargetFramework=net7.0]
|
windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
windows-latest
D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj : warning NU1503: Skipping restore for project 'D:\a\NSwag\NSwag\src\NSwagStudio.Installer\NSwagStudio.Installer.wixproj'. The project file may be invalid or missing targets required for restore. [D:\a\NSwag\NSwag\src\NSwag.sln]
|
windows-latest
C:\Program Files\dotnet\sdk\8.0.101\Microsoft.Common.CurrentVersion.targets(2382,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "x86" and the processor architecture of the reference "D:\a\NSwag\NSwag\artifacts\bin\NSwag.AspNetCore.Launcher\release_net462\NSwag.AspNetCore.Launcher.exe", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. [D:\a\NSwag\NSwag\src\NSwag.Console\NSwag.Console.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(133,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(67,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(201,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\QueryParameterTests.cs(284,64): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(143,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(225,67): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(301,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|
windows-latest
D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\ParameterTests.cs(359,92): warning xUnit1031: Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031) [D:\a\NSwag\NSwag\src\NSwag.CodeGeneration.CSharp.Tests\NSwag.CodeGeneration.CSharp.Tests.csproj]
|