Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ CommonDataFormat = "a9737db6-c05c-4e48-868b-6bc41491d9d9"
CommonDataModel = "1fbeeb36-5f17-413c-809b-666fb144f157"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
JuliaC = "acedd4c2-ced6-4a15-accc-2607eb759ba2"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
14 changes: 8 additions & 6 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
using Pkg
# prereleases often have no installable JET.
const RUN_JET_TESTS = isempty(VERSION.prerelease)
RUN_JET_TESTS && Pkg.add("JET")

using CommonDataFormat
using Test
import CommonDataFormat as CDF
Expand All @@ -20,12 +25,9 @@ end
Aqua.test_all(CommonDataFormat)
end

const RUN_JET_TESTS = isempty(VERSION.prerelease)

@testset "JET" begin
if RUN_JET_TESTS
using Pkg; Pkg.add("JET"; io = devnull); Pkg.instantiate()
using JET
if RUN_JET_TESTS
using JET
@testset "JET" begin
JET.test_package(CommonDataFormat; target_modules = [CommonDataFormat])
end
end
Expand Down
Loading