Skip to content

Commit

Permalink
use global environment for benchmark workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
behinger committed Feb 24, 2024
1 parent 5a2e578 commit b9ce2a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
- name: Install registered dependencies
uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia --project=. -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI@0.1"'
run: julia -e 'using Pkg; pkg"add PkgBenchmark BenchmarkCI"'
- name: Run benchmarks
run: julia --project=. -e 'using BenchmarkCI; BenchmarkCI.judge(baseline="origin/main")'
run: julia -e 'using BenchmarkCI; BenchmarkCI.judge(baseline="origin/main")'
- name: check git
run: julia --project=. -e 'read(run(`git status`))'
run: julia -e 'read(run(`git status`))'
- name: Post results
run: julia --project=. -e 'using BenchmarkCI; BenchmarkCI.postjudge()'
env:
Expand Down
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ version = "0.6.7"

[deps]
BSplineKit = "093aae92-e908-43d7-9660-e50ee39d5a0a"
BenchmarkCI = "20533458-34a3-403d-a444-e18f38190b5b"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Expand Down Expand Up @@ -51,7 +50,6 @@ UnfoldRobustModelsExt = "RobustModels"

[compat]
BSplineKit = "0.16,0.17"
BenchmarkCI = "0.1"
CUDA = "4,5"
DSP = "0.7"
DataFrames = "1"
Expand Down
2 changes: 1 addition & 1 deletion benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ SUITE["effects"]["lin_spl"] = @benchmarkable effects(
$m_lin_f1_spl,
)

SUITE["fit"]["debugging"] = @benchmarkable read(run(`git diff Project.toml`))
#SUITE["fit"]["debugging"] = @benchmarkable read(run(`git diff Project.toml`))

0 comments on commit b9ce2a9

Please sign in to comment.