From 3619443128a09774fb6583f6d2ab651eb60245e3 Mon Sep 17 00:00:00 2001 From: Kenta Sato Date: Sat, 17 Jun 2017 19:10:40 +0900 Subject: [PATCH] use a specific commit when testing on specimens --- test/runtests.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 306a19dc..925791df 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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