Skip to content

Commit 63259f0

Browse files
Add benchmark/Project.toml so the AirspeedVelocity suite resolves its deps
The benchmark workflow errored with `ArgumentError: Package StableRNGs not found in current path`: `benchmark/benchmarks.jl` does `using StableRNGs`, but there was no `benchmark/Project.toml`, so the benchmark environment benchpkg builds had no StableRNGs. Add the environment with the suite's dependencies (BenchmarkTools, StableRNGs, plus FindFirstFunctions for the package-under-test slot). Also fix the workflow path filter: it watched `bench/**`, but the suite lives in `benchmark/**`, so benchmark-only changes never triggered the job. Verified locally: `julia --project=benchmark benchmark/benchmarks.jl` loads all dependencies, builds the SUITE (equality / per_query / batched / props_construct), and runs a benchmarkable. Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FvBXVKGujjeaCB3iLwsDeG
1 parent f7317fe commit 63259f0

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/Benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
pull_request:
55
paths:
66
- "src/**"
7-
- "bench/**"
7+
- "benchmark/**"
88
- "Project.toml"
99
- ".github/workflows/Benchmark.yml"
1010
workflow_dispatch:

benchmark/Project.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[deps]
2+
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
3+
FindFirstFunctions = "64ca27bc-2ba2-4a57-88aa-44e436879224"
4+
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
5+
6+
[compat]
7+
BenchmarkTools = "1"
8+
StableRNGs = "1"

0 commit comments

Comments
 (0)