Skip to content

Commit 055bcab

Browse files
committed
ci: document how the scripts are launched
1 parent a196f7e commit 055bcab

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@ jobs:
1818
with:
1919
path: ./timefold-solver
2020
repository: TimefoldAI/timefold-solver
21+
# Runs the workflows in this order:
22+
# 1. turtle.yml
23+
# 2. performance_score_director.yml
24+
# 3. performance_quickstarts.yml
25+
# Gives enough time between triggers to let the previous workflow get fully queued
26+
# before another starts interfering with it.
27+
# It is imperative that the performance jobs run in their entirety and are not pre-empted by other jobs,
28+
# otherwise the performance results will be inconsistent and unreliable.
29+
# The turtle jobs can run at any time,
30+
# as they run on Github runners, and not on our custom performance runner
31+
# and therefore cannot interfere with the performance jobs.
2132
- name: Schedule the other workflow
2233
shell: bash
2334
env:
@@ -28,10 +39,9 @@ jobs:
2839
cd ../timefold-solver-benchmarks
2940
echo '{}' | gh workflow run turtle.yml --json
3041
echo "Launched nightly turtle tests." >> $GITHUB_STEP_SUMMARY
31-
sleep 1m
3242
echo '{}' | gh workflow run performance_score_director.yml --json
3343
echo "Launched nightly score director perf tests." >> $GITHUB_STEP_SUMMARY
34-
sleep 1m
44+
sleep 5m
3545
echo '{}' | gh workflow run performance_quickstarts.yml --json
3646
echo "Queued nightly quickstart perf tests." >> $GITHUB_STEP_SUMMARY
3747
else

0 commit comments

Comments
 (0)