Skip to content

Commit

Permalink
use a specific commit when testing on specimens
Browse files Browse the repository at this point in the history
  • Loading branch information
bicycle1885 committed Jun 17, 2017
1 parent 0dd37f4 commit 3619443
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,13 @@ function simple_coverage(intervals)
return covintervals
end

function get_bio_fmt_specimens()
function get_bio_fmt_specimens(commit="3140ef6110bb309703ffde564ce705eeb80607d4")
path = joinpath(dirname(@__FILE__), "BioFmtSpecimens")
if !isdir(path)
run(`git clone --depth 1 https://github.com/BioJulia/BioFmtSpecimens.git $(path)`)
run(`git clone https://github.com/BioJulia/BioFmtSpecimens.git $(path)`)
end
cd(path) do
run(`git checkout $(commit)`)
end
return path
end
Expand Down

0 comments on commit 3619443

Please sign in to comment.