mirror of
https://gitlab.cern.ch/wotsubo/PSBoardDataBase.git
synced 2025-06-08 05:55:42 +09:00
fix: add LOCAL_TEST env var for local only test
- add_qaqc_runlist_from_masterlogs works only when all of the master logs are located. but CI doesn't since log files are not included in the repo
This commit is contained in:
parent
6060e26e90
commit
8ad4dfba27
1 changed files with 9 additions and 7 deletions
|
@ -51,6 +51,7 @@ true || include("../src/PSBoardDataBase.jl")
|
|||
|
||||
@test PSBoardDataBase.add_qaqc_dispatch(db, dispatch_table) |> isnothing
|
||||
|
||||
if haskey(ENV, "LOCAL_TEST")
|
||||
@test PSBoardDataBase.add_qaqc_runlist_from_masterlogs(db, "input/log/") |>
|
||||
isnothing
|
||||
|
||||
|
@ -62,4 +63,5 @@ true || include("../src/PSBoardDataBase.jl")
|
|||
|
||||
run(`sqlitebrowser $dbpath`)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue