Skip to content

[Random, Alignment] Refactor np.random.* to match NumPy parity #110

[Random, Alignment] Refactor np.random.* to match NumPy parity

[Random, Alignment] Refactor np.random.* to match NumPy parity #110

Triggered via pull request April 11, 2026 12:55
@NucsNucs
synchronize #602
npalign
Status Failure
Total duration 3m 22s
Artifacts

build-and-release.yml

on: pull_request
Matrix: test
build-nuget
0s
build-nuget
create-release
0s
create-release
publish-nuget
0s
publish-nuget
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 36 warnings
test (macos-latest)
Process completed with exit code 134.
test (ubuntu-latest)
Process completed with exit code 134.
test (windows-latest)
Process completed with exit code 233.
test (macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (macos-latest)
No files were found with the provided path: /Users/runner/work/NumSharp/NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.MatMul.cs#L65
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Comparison.cs#L123
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L152
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Backends/Kernels/ILKernelGenerator.Binary.cs#L119
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L1078
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L919
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Utilities/Hashset`1.cs#L914
Type parameter 'T' has the same name as the type parameter from outer type 'Hashset<T>'
test (macos-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (macos-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (ubuntu-latest)
No files were found with the provided path: /home/runner/work/NumSharp/NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L204
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpan.cs#L187
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L64
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L40
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L199
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (ubuntu-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-dotnet@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
test (windows-latest)
No files were found with the provided path: D:\a\NumSharp\NumSharp/**/TestResults/**/*.trx. No artifacts will be uploaded.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L635
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L510
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L385
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L215
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L286
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/UnmanagedSpanHelpers.T.cs#L173
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Utilities/SpanSource/ReadOnlyUnmanagedSpan.cs#L182
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Backends/NDArray.cs#L88
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L199
The member 'NDArray<TDType>.this[params long[]]' does not hide an accessible member. The new keyword is not required.
test (windows-latest): src/NumSharp.Core/Generics/NDArray`1.cs#L179
The member 'NDArray<TDType>.this[int[]]' does not hide an accessible member. The new keyword is not required.