File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -44,13 +44,24 @@ jobs:
4444 # 2. PUT HISTORY
4545 - name : Restore results
4646 run : |
47+ # there were difficulties with a subfolder being created sometimes
48+ ASV_ROOT_RESULTS_DIR="microbiorust-py/.asv/results/"
49+ ASV_MACHINE_RESULTS_DIR="microbiorust-py/.asv/results/github-runner/"
50+
4751 if [ -d "old_pages/results" ]; then
48- echo "Restoring previous benchmark results..."
49- mkdir -p microbiorust-py/.asv/results
50- rsync -av old_pages/results/ microbiorust-py/.asv/results/
52+ echo "Restoring previous benchmark results from old_pages/results ..."
53+ mkdir -p "${ASV_ROOT_RESULTS_DIR}"
54+ rsync -av old_pages/results/ "${ASV_ROOT_RESULTS_DIR}"
5155 else
5256 echo "No previous results found. Starting fresh."
5357 fi
58+ if [ -d "old_pages/results/github-runner/" ]; then
59+ echo "restoring results from old_pages/results/github-runner"
60+ mkdir -p "$ASV_MACHINE_RESULTS_DIR}"
61+ rsync -av old_pages/results/github-runner/ "${ASV_MACHINE_RESULTS_DIR}"
62+ else
63+ echo "No machine specific results found"
64+ fi
5465
5566 # 3. ADD NEW DATA POINT
5667 - name : Run Benchmarks
You can’t perform that action at this time.
0 commit comments