Skip to content

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

refactor: add explicit API test step in the build pipeline

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

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

ci.yml

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

Annotations

12 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("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("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("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.
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("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("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:36bdba933a17629097e941e299d60c2d79500cf0e9dd21717a5348556adb8e52
Code coverage ubuntu-latest Expired
190 KB
sha256:bc8ccc769c4e4b5b0bfefb1abb7cae055d25525fbd6fe48ae881acd9d1a7ea93