Skip to content

Commit

Permalink
ci: run tests in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit-pierre committed Sep 2, 2023
1 parent b532ed4 commit 20f725a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autotools-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ jobs:
- name: Make and run unit tests
run: |
make check
make -j check
2 changes: 1 addition & 1 deletion .github/workflows/cmake-win64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:

# FIXME: skip `string_reg` test (libtiff lzma build failure)
- name: Test
run: ctest --test-dir build --build-config Release --output-on-failure --exclude-regex '^string_reg$'
run: ctest --test-dir build --build-config Release --output-on-failure --parallel 3 --exclude-regex '^string_reg$'

- name: Install
run: cmake --build build --config Release --target install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: cmake --build build --config ${{env.BUILD_TYPE}}

- name: Test
run: ctest --test-dir build --build-config ${{env.BUILD_TYPE}} --output-on-failure
run: ctest --test-dir build --build-config ${{env.BUILD_TYPE}} --output-on-failure --parallel 3

- name: Install
run: sudo cmake --build build --config ${{env.BUILD_TYPE}} --target install

0 comments on commit 20f725a

Please sign in to comment.