Skip to content

Fix unit tests

Fix unit tests #6

Triggered via push March 22, 2026 09:55
Status Failure
Total duration 49s
Artifacts 1

build-test.yml

on: push
Matrix: test
Code Quality
0s
Code Quality
Security Scan
0s
Security Scan
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 22 warnings
Test on ubuntu-latest
Process completed with exit code 1.
Test on macos-latest
The strategy configuration was canceled because "test.ubuntu-latest" failed
Test on macos-latest
The operation was canceled.
Test on windows-latest
The strategy configuration was canceled because "test.ubuntu-latest" failed
Test on windows-latest
The operation was canceled.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L420
Remove this unused method parameter 'nativeImportAttr'.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L566
Move this method inside 'MethodData'.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L10
Initialize all 'static fields' inline and remove the 'static constructor'.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L5
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md)
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L586
Complete the task associated to this 'TODO' comment.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L427
Complete the task associated to this 'TODO' comment.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L365
Complete the task associated to this 'TODO' comment.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L321
Complete the task associated to this 'TODO' comment.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L615
Remove this commented out code.
Test on ubuntu-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L587
Remove this commented out code.
Test on macos-latest
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L63
Remove this unused method parameter 'compilation'.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L10
Initialize all 'static fields' inline and remove the 'static constructor'.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L566
Move this method inside 'MethodData'.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L5
This compiler extension should not be implemented in an assembly containing a reference to Microsoft.CodeAnalysis.Workspaces. The Microsoft.CodeAnalysis.Workspaces assembly is not provided during command line compilation scenarios, so references to it could cause the compiler extension to behave unpredictably. (https://github.com/dotnet/roslyn/blob/main/docs/roslyn-analyzers/rules/RS1038.md)
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L586
Complete the task associated to this 'TODO' comment.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L427
Complete the task associated to this 'TODO' comment.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L365
Complete the task associated to this 'TODO' comment.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L321
Complete the task associated to this 'TODO' comment.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L615
Remove this commented out code.
Test on macos-latest: NativeInvoke/Generator/NativeImportGenerator.cs#L587
Remove this commented out code.
Test on windows-latest
No files were found with the provided path: ./TestResults/*.trx. No artifacts will be uploaded.

Artifacts

Produced during runtime
Name Size Digest
test-results-ubuntu-latest Expired
26.6 KB
sha256:82913f78f1f5320e21877e4ae63a0ff2aa7cb201bc1971eafe2be7776e239aa3