Skip to content

Commit 800e39c

Browse files
authored
Merge pull request #519 from JuliaRegistries/dpa/fix-ci
BrokenRecord fails to precompile on Julia 1.11
2 parents f287ed2 + 135cc41 commit 800e39c

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

Project.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
2424
VisualStringDistances = "089bb0c6-1854-47b9-96f7-327dbbe09dca"
2525

2626
[compat]
27-
BrokenRecord = "0.1.3"
2827
GitHub = "5.2"
2928
HTTP = "0.8, 0.9.1, 1"
3029
JSON = "0.19, 0.20, 0.21"
@@ -39,7 +38,6 @@ VisualStringDistances = "0.1"
3938
julia = "1.3"
4039

4140
[extras]
42-
BrokenRecord = "bdd55f5b-6e67-4da1-a080-6086e55655a0"
4341
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
4442
GitHub = "bc5e4493-9b4d-5f90-b8aa-2b2bcaad7a26"
4543
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
@@ -50,4 +48,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
5048
TimeZones = "f269a46b-ccf7-5d73-abea-4c690281aa53"
5149

5250
[targets]
53-
test = ["BrokenRecord", "Dates", "GitHub", "JSON", "Pkg", "Printf", "SimpleMock", "Test", "TimeZones"]
51+
test = ["Dates", "GitHub", "JSON", "Pkg", "Printf", "SimpleMock", "Test", "TimeZones"]

test/runtests.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ const AutoMerge = RegistryCI.AutoMerge
1616
# disable the Pkg server.
1717
ENV["JULIA_PKG_SERVER"] = ""
1818

19+
@static if Base.VERSION < v"1.11"
20+
# BrokenRecord fails to precompile on Julia 1.11
21+
Pkg.add(;
22+
name = "BrokenRecord",
23+
uuid = "bdd55f5b-6e67-4da1-a080-6086e55655a0",
24+
version = "0.1.3",
25+
)
26+
import BrokenRecord
27+
end
28+
1929
@testset "RegistryCI.jl" begin
2030
@testset "RegistryCI.jl unit tests" begin
2131
@info("Running the RegistryCI.jl unit tests")

0 commit comments

Comments
 (0)