File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,22 @@ name: Remote Benchmark
22
33on :
44 workflow_dispatch :
5+ push :
6+ branches :
7+ - ' main'
58 pull_request :
69 types : [ labeled ]
710
811concurrency :
912 group : ${{ github.workflow }}-${{ github.ref }}
10- cancel-in-progress : true
13+ cancel-in-progress : ${{ github.event.label.name == 'needs-bench' }}
1114
1215env :
1316 SCALE_FACTOR : ' 10.0'
1417
1518jobs :
1619 main :
17- if : ${{ github.event.label.name == 'needs-bench' }}
20+ if : ${{ github.ref == 'refs/heads/main' || github. event.label.name == 'needs-bench' }}
1821 runs-on : self-hosted
1922 steps :
2023 - uses : actions/checkout@v4
6366 working-directory : polars-benchmark
6467 run : |
6568 make run-polars-no-env
69+
70+ - name : Cache the Polars build
71+ if : ${{ github.ref == 'refs/heads/main' }}
72+ working-directory : py-polars
73+ run : |
74+ "$HOME/py-polars-cache/cache-build.sh" "$PWD/polars"
You can’t perform that action at this time.
0 commit comments