diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 9a7b15f79..4e03793f5 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 diff --git a/.github/workflows/test-other.yml b/.github/workflows/test-other.yml index b5ed1b2d1..7856e38c1 100644 --- a/.github/workflows/test-other.yml +++ b/.github/workflows/test-other.yml @@ -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 + fi - name: Upload log files if tests fail if: failure()