File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,11 +7,17 @@ function test_packages(mode)
77 if mode == :release
88 if p_name == " ASDF.jl"
99 # TODO : Register ASDF.jl v2 (v1 Python version currently broken)
10- @test Pkg . add (url = " https://github.com/JuliaAstro/ASDF.jl " ) == nothing
10+ @test_skip p_name
1111 elseif p_name == " Spectra.jl"
1212 # TODO : Register SpectrumBase.jl
13- @test Pkg . add (url = " https://github.com/JuliaAstro/Spectra.jl " ) == nothing
13+ @test_skip p_name
1414 elseif p_name == " GeneralAstrodynamics.jl"
15+ @test_skip p_name
16+ else
17+ @test Pkg. add (chopsuffix (p_name, " .jl" )) == nothing
18+ end
19+ elseif mode == :dev
20+ if p_name == " GeneralAstrodynamics.jl"
1521 # https://github.com/JuliaAstro/GeneralAstrodynamics.jl/pull/275
1622 repo = " https://github.com/JuliaAstro/GeneralAstrodynamics.jl"
1723 Pkg. add ([
@@ -22,10 +28,8 @@ function test_packages(mode)
2228 ])
2329 @test Pkg. add (url = " https://github.com/JuliaAstro/GeneralAstrodynamics.jl" ) == nothing
2430 else
25- @test Pkg. add (chopsuffix (p_name, " .jl " ) ) == nothing
31+ @test Pkg. add (url = package . repo ) == nothing
2632 end
27- elseif mode == :dev
28- @test Pkg. add (url= package. repo) == nothing
2933 else
3034 throw (ArgumentError (" `mode` argument to `test_packages` must be either `:release` or `:dev`." ))
3135 end
You can’t perform that action at this time.
0 commit comments