Skip to content

Commit 1c15cd6

Browse files
committed
Patch the thread_limit argument to Some(1) too
In the `text-ext4-casefold` jobs.
1 parent f70d239 commit 1c15cd6

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,18 @@ jobs:
242242
- uses: taiki-e/install-action@v2
243243
with:
244244
tool: nextest
245-
- name: More writes_through_symlinks_are_prevented_even_if_overwriting_is_allowed reps
245+
- name: Increase writes_through_symlinks_are_prevented_even_if_overwriting_is_allowed reps
246246
run: |
247247
# Prepend leading digits "24" to the upper bound of the label range.
248248
sed -Ei 's/^(#\[test_matrix\(0\.\.=)([[:digit:]]+\)])$/\124\2/' \
249249
gix-worktree-state/tests/state/checkout.rs
250+
- name: Modify the test code to use single-threaded checkout
251+
run: |
252+
# Replace the usual `thread_limit` argument with `Some(1)`.
253+
sed -i 's/gix_features::parallel::num_threads(None).into()/Some(1)/' \
254+
gix-worktree-state/tests/state/checkout.rs
255+
- name: Display the changes made for this test
256+
run: git diff
250257
- name: Test writes_through_symlinks_are_prevented_even_if_overwriting_is_allowed (nextest)
251258
run: |
252259
cargo nextest run -p gix-worktree-state-tests --no-default-features \

0 commit comments

Comments
 (0)