Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ jobs:
run: |
tests=("command-line-options" "data-rep" "i18n_sjis" "jp-compat" "run" "syntax" "cobj-idx" "file-lock" "file-lock2" "misc")
for test in "${tests[@]}"; do
./"$test" || true
if [ "$test" = "file-lock" ] || [ "$test" = "file-lock2" ] || [ "$test" = "cobj-idx" ]; then
./"$test" || true
else
./"$test" -j || true
fi
done

- name: Generate a coverage report
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@ jobs:

- name: Run tests ${{ inputs.test-name }}
working-directory: tests/
run:
./${{ inputs.test-name }}
run: |
if [ "${{ inputs.test-name }}" = "file-lock" ] || [ "${{ inputs.test-name }}" = "file-lock2" ] || [ "${{ inputs.test-name }}" = "cobj-idx" ]; then
./${{ inputs.test-name }}
else
./${{ inputs.test-name }} -j
Comment thread
yutaro-sakamoto marked this conversation as resolved.
fi

- name: Upload log files if tests fail
if: failure()
Expand Down
Loading