Skip to content

Commit

Permalink
Improve testing in parallel in Github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore committed Dec 3, 2020
1 parent 0dbf57c commit 60c4346
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/build-and-test-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ jobs:
df -h
- name: Unit-Tests
run: |
tests/run-parallel-tests.sh _build/tests/all_tests -l message
pushd _build/tests
./bloom_test -- README.md
./ecc_test README.md
./hmac_test
./task_cancel_test
parallel echo Running {}\; sh -c "_build/tests/{}" <<_EOT_
../../tests/run-parallel-tests.sh _build/tests/all_tests -l message
bloom_test -- README.md
ecc_test README.md
hmac_test
task_cancel_test
_EOT_
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-ubuntu-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
make -j 2 -C _build
- name: Test
run: |
tests/run-parallel-tests.sh _build/tests/all_tests -l message
parallel echo Running {}\; sh -c "_build/tests/{}" <<_EOT_
../../tests/run-parallel-tests.sh _build/tests/all_tests -l message
bloom_test -- README.md
ecc_test README.md
hmac_test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-ubuntu-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ jobs:
make -j 2 -C _build
- name: Test
run: |
tests/run-parallel-tests.sh _build/tests/all_tests -l message
parallel echo Running {}\; sh -c "_build/tests/{}" <<_EOT_
../../tests/run-parallel-tests.sh _build/tests/all_tests -l message
bloom_test -- README.md
ecc_test README.md
hmac_test
Expand Down

0 comments on commit 60c4346

Please sign in to comment.