fix: Make MockDirectory.Exists behavior with forward slash on Windows consistent with actual file system #1637
ci.yml
on: pull_request
Publish Tests Results
10s
Annotations
7 errors and 10 warnings
|
Static code analysis
Process completed with exit code 255.
|
|
Static code analysis
Target "CodeAnalysisEnd" has thrown an exception
|
|
Static code analysis
08:38:13.486 Post-processing failed. Exit code: 1
|
|
Static code analysis
The SonarScanner did not complete successfully
|
|
Static code analysis
ERROR:
|
|
Static code analysis
ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator to check the permissions of the user the token belongs to
|
|
Static code analysis
ERROR: Error during SonarScanner execution
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(65,17): warning S4136: All 'Dispose' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(9,23): warning S3881: Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(33,26): warning S4136: All 'Delete' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(19,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
|
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=net472]
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
API-tests
Expired
|
2.84 KB |
sha256:6c8b38ab4654d993d03511bf7cdbc8bc5c5af5f017435b340a7f05d5db781726
|
|
|
Linux-artifacts
Expired
|
670 KB |
sha256:e30254ab609afac50ca87e8e1140eb57abd3f45e0e556b1357761d70abb4e043
|
|
|
Windows-artifacts
Expired
|
845 KB |
sha256:670ddbb969fb35e6a295a47a70b6cff6b15ad5db69fc5b93c0f81e68c1307664
|
|
|
macOS-artifacts
Expired
|
668 KB |
sha256:6d7543303118eb0c7f51d18e8f189e96290c70a4b719a767eb26a14028224ed3
|
|