Skip to content

Commit 12202aa

Browse files
committed
Debug: Run tests with 1 single test thread
1 parent c8a0b44 commit 12202aa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/scripts/ci-test.sh

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ export RUST_BACKTRACE=1
44
# Run all tests with 1G heap
55
export MMTK_GC_TRIGGER=FixedHeapSize:1000000000
66

7+
# To debug
8+
export RUST_TEST_THREADS=1
9+
710
for_all_features "cargo test"
811

912
# target-specific features

.github/workflows/minimal-tests-core.yml

+3
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
# Test
6464
- name: Test
6565
run: ./.github/scripts/ci-test.sh
66+
- name: Setup tmate session
67+
if: ${{ failure() }}
68+
uses: mxschmitt/action-tmate@v3
6669

6770
# Style checks
6871
- name: Style checks

0 commit comments

Comments
 (0)