Skip to content

Commit

Permalink
missing export addtestdep
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jun 24, 2020
1 parent f9ea9ea commit 37602f7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SnoopCompileBot/src/botutils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ function pathof_noload(package_name::String)
end

################################################################

export addtestdep
import Pkg
"""
Should be removed once Pkg allows adding test dependencies to the current environment
Expand Down
2 changes: 1 addition & 1 deletion docs/src/bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Install dependencies
run: |
julia --project -e 'using Pkg; Pkg.instantiate();'
julia -e 'using Pkg; Pkg.add(PackageSpec(url = "https://github.com/timholy/SnoopCompile.jl")); Pkg.develop(PackageSpec(; path=pwd())); using SnoopCompile; SnoopCompile.addtestdep();'
julia -e 'using Pkg; Pkg.add(PackageSpec(url = "https://github.com/timholy/SnoopCompile.jl")); Pkg.develop(PackageSpec(; path=pwd())); using SnoopCompile; addtestdep();'
- name: Generating precompile files
run: julia --project -e 'include("deps/SnoopCompile/snoop_bot.jl")' # NOTE: must match path
- name: Running Benchmark
Expand Down
2 changes: 1 addition & 1 deletion src/SnoopCompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ end

using SnoopCompileBot
export BotConfig, snoop_bot, snoop_bench
export timesum, pathof_noload, GoodPath
export timesum, pathof_noload, GoodPath, addtestdep
if isdefined(SnoopCompileBot, Symbol("@snoopiBench"))
# deprecated names
export @snoopiBench, @snoopiBot, @snoopi_bench, @snoopi_bot
Expand Down

0 comments on commit 37602f7

Please sign in to comment.