Skip to content

Commit

Permalink
parallelization for unit tests (#5000)
Browse files Browse the repository at this point in the history
* parallelization for unit tests

Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
macfarla authored Jan 25, 2023
1 parent 897c7a7 commit b22a52a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ jobs:
done
unitTests:
parallelism: 6
executor: besu_executor_xl
steps:
- prepare
Expand All @@ -184,7 +185,14 @@ jobs:
name: Build
no_output_timeout: 20m
command: |
./gradlew --no-daemon build
GRADLE_ARGS=$(ls -d */src/test/java \
| sed 's/^/:/' \
| sed 's@src/test/java@@' \
| sed 's@/@:test@' \
| circleci tests split --split-by=timings)
# Format the arguments to "./gradlew test"
echo "Prepared arguments for Gradle: $GRADLE_ARGS"
./gradlew --no-daemon $GRADLE_ARGS
- capture_test_results

integrationTests:
Expand Down

0 comments on commit b22a52a

Please sign in to comment.