Skip to content

Commit

Permalink
using Project.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
epolack committed Dec 12, 2023
1 parent 59f1cc8 commit 95c8d0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/regression.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,20 @@ jobs:
version: 1
- uses: julia-actions/julia-buildpkg@latest
- name: Install dependencies
run: julia -e 'using Pkg; pkg"add PkgBenchmark [email protected]"'
run: |
julia --project=benchmark -e '
using Pkg
Pkg.develop(PackageSpec(; path=pwd()))
Pkg.instantiate()'
- name: Run benchmarks
# Remove baseline once merged. Regression tests will only work after this is merged
# in master.
run: julia -e 'using BenchmarkCI; BenchmarkCI.judge(; baseline="HEAD", retune=true)'
run: |
julia --project=benchmark -e '
using BenchmarkCI
BenchmarkCI.judge(; baseline="HEAD", retune=true)'
- name: Print judgement
run: julia -e 'using BenchmarkCI; BenchmarkCI.displayjudgement()'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
julia --project=benchmark -e '
using BenchmarkCI
BenchmarkCI.displayjudgement()'
1 change: 1 addition & 0 deletions benchmark/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
BenchmarkCI = "20533458-34a3-403d-a444-e18f38190b5b"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
DFTK = "acf6eb54-70d9-11e9-0013-234b7a5f5337"
PkgBenchmark = "32113eaa-f34f-5b0d-bd6c-c81e245fc73d"
TestItemRunner = "f8b46487-2199-4994-9208-9a1283c18c0a"

0 comments on commit 95c8d0e

Please sign in to comment.