From c1deaa20cc957286e0621cee982d17dd67668a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Petrovick=C3=BD?= Date: Tue, 8 Oct 2024 07:45:35 +0200 Subject: [PATCH] ci: another attempt at the nightly jobs --- .github/workflows/nightly_performance_score_director.yml | 8 ++++++++ .github/workflows/performance_score_director.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) 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)'