Skip to content

Commit

Permalink
Add in check to see if benchmark has already run
Browse files Browse the repository at this point in the history
  • Loading branch information
pflooky committed Jun 6, 2024
1 parent 082e778 commit 50483bc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Check if benchmark has already run
run: |
version=$(grep dataCatererVersion gradle.properties | cut -d= -f2)
if [ ! -f benchmark/results/benchmark_results_${version}.txt ]; then
echo "No benchmark results for version: $version, starting to run benchmarks"
else
echo "Benchmarks already run!"
exit 1
fi
- name: Checkout datafusion-comet repo
uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 50483bc

Please sign in to comment.