diff --git a/.github/workflows/nightly_performance_score_director.yml b/.github/workflows/nightly_performance_score_director.yml index f0baa22e..c9adb42c 100644 --- a/.github/workflows/nightly_performance_score_director.yml +++ b/.github/workflows/nightly_performance_score_director.yml @@ -8,16 +8,24 @@ jobs: trigger: runs-on: ubuntu-latest steps: + - name: Checkout timefold-solver-benchmarks + uses: actions/checkout@v4 + with: + path: ./timefold-solver-benchmarks + repository: TimefoldAI/timefold-solver-benchmarks - name: Checkout timefold-solver uses: actions/checkout@v4 with: + path: ./timefold-solver repository: TimefoldAI/timefold-solver - name: Schedule the other workflow shell: bash env: GH_TOKEN: ${{ secrets.BENCHMARK_PUBLISH_TOKEN }} run: | + cd timefold-solver if git log --since="24 hours ago" --oneline | grep -q .; then + cd ../timefold-solver-benchmarks echo '{}' | gh workflow run performance_score_director.yml --json echo "Launched nightly perf tests." >> $GITHUB_STEP_SUMMARY else diff --git a/.github/workflows/performance_score_director.yml b/.github/workflows/performance_score_director.yml index ee2eed81..1dcf9b38 100644 --- a/.github/workflows/performance_score_director.yml +++ b/.github/workflows/performance_score_director.yml @@ -16,7 +16,7 @@ on: required: true baseline: description: 'Timefold Solver release' - default: '1.14.0' + default: '1.15.0' required: true branch: description: 'Branch to benchmark (needs to use 999-SNAPSHOT)'