Skip to content

Commit

Permalink
Run directory setup in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Aug 2, 2024
1 parent f05b857 commit e3c869c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,20 @@ jobs:
- name: Prepare test directories
run: |
echo "Starting directory preparation"
start_time=$(date +%s%N)
for suite in unit feature_hyde feature_framework publications realtime_compiler; do
time cp -R src ${suite}_tests
cp -R src ${suite}_tests &
done
time mv src/.git .
wait
mv src/.git .
end_time=$(date +%s%N)
duration=$(( (end_time - start_time) / 1000000 ))
echo "Directory preparation completed in $duration milliseconds"
- name: Execute Tests in Parallel
run: |
Expand Down

0 comments on commit e3c869c

Please sign in to comment.