Skip to content

Commit ba5db20

Browse files
ci: run file-lock and file-lock2 without -j
1 parent 3605911 commit ba5db20

2 files changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ jobs:
4343
run: |
4444
tests=("command-line-options" "data-rep" "i18n_sjis" "jp-compat" "run" "syntax" "cobj-idx" "file-lock" "file-lock2" "misc")
4545
for test in "${tests[@]}"; do
46-
./"$test" -j || true
46+
if [ "$test" = "file-lock" ] || [ "$test" = "file-lock2" ] || [ "$test" = "cobj-idx" ]; then
47+
./"$test" || true
48+
else
49+
./"$test" -j || true
50+
fi
4751
done
4852
4953
- name: Generate a coverage report

.github/workflows/test-other.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,12 @@ jobs:
7575
7676
- name: Run tests ${{ inputs.test-name }}
7777
working-directory: tests/
78-
run:
79-
./${{ inputs.test-name }} -j
78+
run: |
79+
if [ "${{ inputs.test-name }}" = "file-lock" ] || [ "${{ inputs.test-name }}" = "file-lock2" ] || [ "${{ inputs.test-name }}" = "cobj-idx" ]; then
80+
./${{ inputs.test-name }}
81+
else
82+
./${{ inputs.test-name }} -j
83+
fi
8084
8185
- name: Upload log files if tests fail
8286
if: failure()

0 commit comments

Comments
 (0)