Skip to content

Commit 82fee84

Browse files
Krastanov-agentKrastanovclaude
authored
Update CI workflows: replace benchmark with AirspeedVelocity, fix downgrade (#490)
- Delete postbench.yml and runbenchandupload.yml, replace with AirspeedVelocity benchmark.yml - Add julia_version parameter to downgrade-compat action Co-authored-by: Stefan Krastanov <stefan@krastanov.org> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b375cba commit 82fee84

File tree

4 files changed

+23
-122
lines changed

4 files changed

+23
-122
lines changed

.github/workflows/benchmark.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Benchmarks
2+
on:
3+
pull_request_target:
4+
branches: [master, main]
5+
permissions:
6+
pull-requests: write
7+
8+
concurrency:
9+
# group by workflow and ref; the last slightly strange component ensures that for pull
10+
# requests, we limit to 1 concurrent job, but for the master branch we don't
11+
group: ${{ github.workflow }}-${{ github.ref }}-${{ (github.ref != 'refs/heads/master' && github.ref != 'refs/heads/main') || github.run_number }}
12+
# Cancel intermediate builds, but only if it is a pull request build.
13+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
14+
15+
jobs:
16+
benchmark:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: MilesCranmer/AirspeedVelocity.jl@action-v1
20+
with:
21+
julia-version: '1'
22+
tune: 'false'

.github/workflows/downgrade.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
- uses: julia-actions/julia-downgrade-compat@v2
2525
with:
2626
skip: Pkg,TOML,InteractiveUtils,Random,LinearAlgebra
27+
julia_version: ${{ matrix.version }}
2728
- uses: julia-actions/cache@v2
2829
- uses: julia-actions/julia-buildpkg@v1
2930
- uses: julia-actions/julia-runtest@v1

.github/workflows/postbench.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/workflows/runbenchandupload.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)