Skip to content

Commit

Permalink
fix: clean up the workspace before running benchmarks (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
triceo authored Jan 5, 2025
1 parent 00a9954 commit 8b7bdb2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/performance_score_director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,17 @@ jobs:
MVN_USERNAME: '${{ secrets.JFROG_ENTERPRISE_READ_ONLY_ACCESS_USERNAME }}'
MVN_PASSWORD: '${{ secrets.JFROG_ENTERPRISE_READ_ONLY_ACCESS_TOKEN }}'
steps:
- name: Clean results of previous runs
shell: bash
run: |
rm -rf timefold-solver-benchmarks
- name: Checkout timefold-solver-benchmarks
uses: actions/checkout@v4
with:
repository: TimefoldAI/timefold-solver-benchmarks
path: ./timefold-solver-benchmarks

- name: Setup JDK and Maven
uses: actions/setup-java@v4
with:
Expand All @@ -155,6 +166,7 @@ jobs:
export FILENAME=async-profiler-${{ github.event.inputs.async_profiler_version }}-linux-x64.tar.gz
wget https://github.com/async-profiler/async-profiler/releases/download/v${{ github.event.inputs.async_profiler_version }}/$FILENAME
tar -xzf $FILENAME
mkdir target
ls -l
# Fine-tuned for stability on GHA.
Expand Down

0 comments on commit 8b7bdb2

Please sign in to comment.