Skip to content

Commit d643481

Browse files
committed
fix(ci): exclude HighMemory tests to prevent Ubuntu OOM kills
Root cause of Ubuntu CI failures: - AllocationTests (marked [HighMemory]) allocates 4GB, 8GB, 16GB arrays - The treenode-filter only excluded [OpenBugs], not [HighMemory] - On Ubuntu/Linux, OOM killer silently terminates the process - Windows/macOS handle OOM differently (managed exceptions or more swap) The workflow comment mentioned HighMemory should be excluded but the filter wasn't actually updated. Fixed by adding the HighMemory exclusion using correct TUnit syntax: & operator between full filter expressions. Filter syntax: - Valid: '/*/*/*/*[Category!=A]&/*/*/*/*[Category!=B]' - Invalid: '/*/*/*/*[Category!=A&Category!=B]'
1 parent 31d98f7 commit d643481

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
echo "Available memory: $(free -h 2>/dev/null || echo 'N/A')"
5858
dotnet run --project test/NumSharp.UnitTest/NumSharp.UnitTest.csproj \
5959
--configuration Release --no-build --framework net10.0 \
60-
-- --treenode-filter '/*/*/*/*[Category!=OpenBugs]' --report-trx
60+
-- --treenode-filter '/*/*/*/*[Category!=OpenBugs]&/*/*/*/*[Category!=HighMemory]' --report-trx
6161
6262
- name: Upload Test Results
6363
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)