Skip to content

refactor: add explicit API test step in the build pipeline #1571

refactor: add explicit API test step in the build pipeline

refactor: add explicit API test step in the build pipeline #1571

Triggered via pull request February 22, 2025 14:32
Status Failure
Total duration 3m 52s
Artifacts 2

ci.yml

on: pull_request
Matrix: Test
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

15 errors
VerifyPublicApiForWrappers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 798 and column 73: ↓ (actual) "…rServices.ParamCollection] [System.Runtime.Compile…" "…rServices.ScopedRef] System.ReadOnlySpan<string> paths);\n …" ↑ (expected)
Test (macos-latest)
Process completed with exit code 1.
VerifyPublicApiForWrappers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 798 and column 73: ↓ (actual) "…rServices.ParamCollection] [System.Runtime.Compile…" "…rServices.ScopedRef] System.ReadOnlySpan<string> paths);\n …" ↑ (expected)
Test (ubuntu-latest)
Process completed with exit code 1.
VerifyPublicApiForTestingHelpers("net472"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.TestingHelpers\bin\Debug\net472\TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("netstandard2.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.TestingHelpers\bin\Debug\netstandard2.0\TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.TestingHelpers\bin\Debug\netstandard2.1\TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.TestingHelpers\bin\Debug\net6.0\TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForTestingHelpers("net8.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L29
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.TestingHelpers\bin\Debug\net8.0\TestableIO.System.IO.Abstractions.TestingHelpers.dll'. The system cannot find the file specified.
VerifyPublicApiForWrappers("netstandard2.1"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L18
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.Wrappers\bin\Debug\netstandard2.1\TestableIO.System.IO.Abstractions.Wrappers.dll'. The system cannot find the file specified.
VerifyPublicApiForWrappers("net6.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L18
System.IO.FileNotFoundException : Could not load file or assembly 'D:\a\System.IO.Abstractions\System.IO.Abstractions\src\TestableIO.System.IO.Abstractions.Wrappers\bin\Debug\net6.0\TestableIO.System.IO.Abstractions.Wrappers.dll'. The system cannot find the file specified.
VerifyPublicApiForWrappers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 798 and column 73: ↓ (actual) "…rServices.ParamCollection] [System.Runtime.Compile…" "…rServices.ScopedRef] System.ReadOnlySpan<string> paths);\n …" ↑ (expected)
Test (windows-latest)
Process completed with exit code 1.
VerifyPublicApiForWrappers("net9.0"): tests/TestableIO.System.IO.Abstractions.Api.Tests/ApiApprovalTests.cs#L21
Expected that publicApi is equal to "[assembly: System.CLSCompliant…", but it was "[assembly: System.CLSCompliant…" which differs on line 798 and column 73: ↓ (actual) "…rServices.ParamCollection] [System.Runtime.Compile…" "…rServices.ScopedRef] System.ReadOnlySpan<string> paths);\n …" ↑ (expected)
Test (windows-latest)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size Digest
Code coverage macos-latest Expired
190 KB
sha256:401a5d1a8e20f88ef51b33177c89c1cee61b197b37163dd4a3549ae8853f06e0
Code coverage ubuntu-latest Expired
190 KB
sha256:fc482e7e8d2b277f8229c0bc6d2fd8e5aca42bb2a77dc72f03b8eefa9721b673