chore(deps): update dependency meziantou.analyzer to 2.0.286 #2673
ci.yml
on: pull_request
Matrix: Unit tests
API tests
1m 48s
Mutation tests (Linux)
0s
Mutation tests (Windows)
0s
Static code analysis
30m 58s
Publish Tests Results
28s
Annotations
4 errors and 14 warnings
|
Unit tests (windows-latest)
Process completed with exit code 1.
|
|
Unit tests (windows-latest)
Target "DotNetUnitTests" has thrown an exception
|
|
Unit tests (windows-latest)
All 2 tries failed: System.AggregateException: One or more errors occurred. (Process 'dotnet.exe' exited with code 1.
> "C:\Program Files\dotnet\dotnet.exe" test D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Tests\Testably.Abstractions.Tests.csproj --configuration Release --collect "XPlat Code Coverage" --results-directory D:\a\Testably.Abstractions\Testably.Abstractions\TestResults --framework net10.0 --logger trx;LogFileName=Testably.Abstractions.Tests_net10.0.trx
@ D:\a\Testably.Abstractions\Testably.Abstractions
Error output:
[xUnit.net 00:00:24.06] Testably.Abstractions.Tests.FileSystem.Directory.GetFileSystemInfosTests+RealFileSystemTests.GetFileSystemEntries_SearchOptionAllDirectories_FullPath_ShouldReturnAllFileSystemEntriesWithFullPath(path: "path43651939-f717-454b-84e6-954874066501") [FAIL]
)
---> Nuke.Common.Tooling.ProcessException: Process 'dotnet.exe' exited with code 1.
> "C:\Program Files\dotnet\dotnet.exe" test D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Tests\Testably.Abstractions.Tests.csproj --configuration Release --collect "XPlat Code Coverage" --results-directory D:\a\Testably.Abstractions\Testably.Abstractions\TestResults --framework net10.0 --logger trx;LogFileName=Testably.Abstractions.Tests_net10.0.trx
@ D:\a\Testably.Abstractions\Testably.Abstractions
Error output:
[xUnit.net 00:00:24.06] Testably.Abstractions.Tests.FileSystem.Directory.GetFileSystemInfosTests+RealFileSystemTests.GetFileSystemEntries_SearchOptionAllDirectories_FullPath_ShouldReturnAllFileSystemEntriesWithFullPath(path: "path43651939-f717-454b-84e6-954874066501") [FAIL]
at Nuke.Common.Tooling.ProcessExtensions.AssertZeroExitCode(IProcess process) in /_/source/Nuke.Tooling/ProcessExtensions.cs:line 38
at Nuke.Common.Tooling.ToolTasks.<>c.<GetExitHandler>b__4_0(ToolOptions _, IProcess p) in /_/source/Nuke.Tooling/ToolTasks.ExitHandler.cs:line 27
at Nuke.Common.Tooling.ToolTasks.<>c__DisplayClass8_0.<GetExitHandlerInternal>b__3(ToolOptions o, IProcess p) in /_/source/Nuke.Tooling/ToolTasks.ExitHandler.cs:line 22
at Nuke.Common.Tooling.ToolTasks.Run[T](T options) in /_/source/Nuke.Tooling/ToolTasks.Run.cs:line 36
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetTest(DotNetTestSettings options) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 32
at Nuke.Common.Tooling.ConfigureExtensions.<>c__DisplayClass1_0`1.<Invoke>b__0(TOptions x) in /_/source/Nuke.Tooling/Configure.cs:line 38
at Nuke.Common.Tooling.ConfigureExtensions.<>c__DisplayClass3_0`2.<Invoke>b__0(TOptions x) in /_/source/Nuke.Tooling/Configure.cs:line 78
--- End of inner exception stack trace ---
at Nuke.Common.Tooling.ConfigureExtensions.Invoke[TOptions,TResult](CombinatorialConfigure`1 configurator, Func`2 executor, Func`2 outputSelector, Int32 degreeOfParallelism, Boolean completeOnFailure) in /_/source/Nuke.Tooling/Configure.cs:line 91
at Nuke.Common.Tooling.ConfigureExtensions.Invoke[TOptions](CombinatorialConfigure`1 configurator, Func`2 executor, Int32 degreeOfParallelism, Boolean completeOnFailure)
at Nuke.Common.Tools.DotNet.DotNetTasks.DotNetTest(CombinatorialConfigure`1 configurator, Int32 degreeOfParallelism, Boolean completeOnFailure) in /_/source/Nuke.Common/Tools/DotNet/DotNet.Generated.cs:line 36
at Build.Build.<get_DotNetUnitTests>b__62_2() in D:\a\Testably.Abstractions\Testably.Abstractions\Pipeline\Build.UnitTest.cs:line 32
|
|
Unit tests (windows-latest)
[xUnit.net 00:00:24.06] Testably.Abstractions.Tests.FileSystem.Directory.GetFileSystemInfosTests+RealFileSystemTests.GetFileSystemEntries_SearchOptionAllDirectories_FullPath_ShouldReturnAllFileSystemEntriesWithFullPath(path: "path43651939-f717-454b-84e6-954874066501") [FAIL]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(364,8): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(354,7): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(350,8): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(335,7): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(330,8): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(305,7): warning S907: Remove this use of 'goto'. (https://rules.sonarsource.com/csharp/RSPEC-907) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(404,6): warning S1871: Either merge this branch with the identical one on line 396 or change one of the implementations. (https://rules.sonarsource.com/csharp/RSPEC-1871) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(175,22): warning S3776: Refactor this method to reduce its Cognitive Complexity from 188 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(444,6): warning S125: Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Static code analysis
/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Polyfills/FileSystemName.cs(420,7): warning S125: Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125) [/home/runner/work/Testably.Abstractions/Testably.Abstractions/Source/Testably.Abstractions.Testing/Testably.Abstractions.Testing.csproj::TargetFramework=netstandard2.0]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(23,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(18,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
|
Unit tests (windows-latest)
D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\obj\Release\net48\aweXpect.Frameworks\aweXpect.Frameworks.FrameworkGenerator\Xunit3.g.cs(13,35): warning CS0436: The type 'DoesNotReturnAttribute' in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs' conflicts with the imported type 'DoesNotReturnAttribute' in 'Testably.Abstractions.Testing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f24346c8579fcb48'. Using the type defined in 'C:\Users\runneradmin\.nuget\packages\nullable\1.3.1\contentFiles\cs\net40\Nullable\DoesNotReturnAttribute.cs'. [D:\a\Testably.Abstractions\Testably.Abstractions\Tests\Testably.Abstractions.Testing.Tests\Testably.Abstractions.Testing.Tests.csproj::TargetFramework=net48]
|
|
GetFileSystemEntries_SearchOptionAllDirectories_FullPath_ShouldReturnAllFileSystemEntriesWithFullPath(path: "path43651939-f717-454b-84e6-954874066501") (Testably.Abstractions.Tests.FileSystem.Directory.GetFileSystemInfosTests+RealFileSystemTests) failed:
Testably.Abstractions.Tests.FileSystem.Directory.GetFileSystemInfosTests+RealFileSystemTests#L0
artifacts/Windows-artifacts/TestResults/Testably.Abstractions.Tests_net10.0.trx [took 1s]
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
API-tests
|
10.1 KB |
sha256:1a39fc3795ee0b8e145c4b0d907d8e869a07acea23d240f547b3e531dfe45728
|
|
|
Linux-artifacts
|
9.35 MB |
sha256:c2fa3001026c1ec93eb606bdc642148377f42ffeec3d36afc72d69d81fd5c939
|
|
|
Windows-artifacts
|
10.4 MB |
sha256:80411dfe8ebdb4a9e937483e364683501f3fae356c62e878d4baa6a0ce1fa333
|
|
|
macOS-artifacts
|
9.39 MB |
sha256:7fe075aaf781ecf10f9759ef4f9ecd909fee37a1aef3500fc777720a29b46a8b
|
|