Skip to content

feat(ui-web): refactor the web backend, create tests #30

feat(ui-web): refactor the web backend, create tests

feat(ui-web): refactor the web backend, create tests #30

Triggered via pull request September 1, 2023 16:18
Status Failure
Total duration 1m 48s
Artifacts

DotNET-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 12 warnings
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiAppRoutesTest.cs(3,7): error CS0246: The type or namespace name 'Moq' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiEndpointsTest.cs(5,7): error CS0246: The type or namespace name 'Moq' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiAppRoutesTest.cs(18,26): error CS0246: The type or namespace name 'Mock<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiEndpointsTest.cs(20,26): error CS0246: The type or namespace name 'Mock<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiAppRoutesTest.cs(3,7): error CS0246: The type or namespace name 'Moq' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiEndpointsTest.cs(5,7): error CS0246: The type or namespace name 'Moq' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiAppRoutesTest.cs(18,26): error CS0246: The type or namespace name 'Mock<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Endpoints/SerilogUiEndpointsTest.cs(20,26): error CS0246: The type or namespace name 'Mock<>' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
Target "Backend_Compile" has thrown an exception
ubuntu-latest
Process completed with exit code 255.
ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ubuntu-latest
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
ubuntu-latest
npm WARN deprecated [email protected]: You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1
ubuntu-latest
/usr/share/dotnet/sdk/7.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(29,5): warning NETSDK1138: The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/serilog-ui/serilog-ui/src/Serilog.Ui.Web/Serilog.Ui.Web.csproj::TargetFramework=net5.0]
ubuntu-latest
/home/runner/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/7.0.0/buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets(4,5): warning : Microsoft.Extensions.DependencyInjection.Abstractions 7.0.0 doesn't support netcoreapp3.1 and has not been tested with it. Consider upgrading your TargetFramework to net6.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk. [/home/runner/work/serilog-ui/serilog-ui/src/Serilog.Ui.Web/Serilog.Ui.Web.csproj::TargetFramework=netcoreapp3.1]
ubuntu-latest
/home/runner/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/7.0.0/buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets(4,5): warning : Microsoft.Extensions.DependencyInjection.Abstractions 7.0.0 doesn't support net5.0 and has not been tested with it. Consider upgrading your TargetFramework to net6.0 or later. You may also set <SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings> in the project file to ignore this warning and attempt to run in this unsupported configuration at your own risk. [/home/runner/work/serilog-ui/serilog-ui/src/Serilog.Ui.Web/Serilog.Ui.Web.csproj::TargetFramework=net5.0]
ubuntu-latest
/usr/share/dotnet/sdk/7.0.400/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(29,5): warning NETSDK1138: The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/home/runner/work/serilog-ui/serilog-ui/src/Serilog.Ui.Web/Serilog.Ui.Web.csproj::TargetFramework=net5.0]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/SerilogInMemoryDataProvider/SerilogInMemoryDataProvider.cs(16,98): warning CS8625: Cannot convert null literal to non-nullable reference type. [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/SerilogInMemoryDataProvider/SerilogInMemoryDataProvider.cs(16,128): warning CS8625: Cannot convert null literal to non-nullable reference type. [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.Web.Tests/Serilog.Ui.Web.Tests.csproj]
ubuntu-latest
CSC : warning xUnit1013: Public method 'It_fetches_with_limit' on test class 'IntegrationPaginationTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.MsSqlServerProvider.Tests/Serilog.Ui.MsSqlServerProvider.Tests.csproj]
ubuntu-latest
CSC : warning xUnit1013: Public method 'It_fetches_with_limit_and_skip' on test class 'IntegrationPaginationTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013) [/home/runner/work/serilog-ui/serilog-ui/tests/Serilog.Ui.MsSqlServerProvider.Tests/Serilog.Ui.MsSqlServerProvider.Tests.csproj]
ubuntu-latest
No files were found with the provided path: **/test-results.trx. No artifacts will be uploaded.