-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #151 from JuliaDynamics/hw/fix_observables
fix reconstruction of p dependent observables
- Loading branch information
Showing
5 changed files
with
29 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,9 @@ BMPATH = joinpath(NDPATH, "benchmark") | |
@info "Activate Benchmark environment" | ||
import Pkg; | ||
Pkg.activate(BMPATH); | ||
Pkg.develop(; path=NDPATH); | ||
if VERSION < v"1.11.0-0" | ||
Pkg.develop(; path=NDPATH); | ||
end | ||
Pkg.precompile(); | ||
|
||
using PkgBenchmark | ||
|
@@ -96,6 +98,9 @@ isdirty = with(LibGit2.isdirty, GitRepo(ndpath_tmp)) | |
if isdirty | ||
@info "Dirty directory, add everything to new commit!" | ||
@assert realpath(pwd()) == realpath(ndpath_tmp) "Julia is in $(pwd()) not it $ndpath_tmp" | ||
run(`git status`) | ||
run(`git config --global user.email "[email protected]"`) | ||
run(`git config --global user.name "Benchmark Bot"`) | ||
run(`git checkout -b $(randstring(15))`) | ||
run(`git add -A`) | ||
run(`git commit -m "tmp commit for benchmarking"`) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters