JuliaRegistries / Registrator.jl

Julia package registration bot
https://julialang.org/packages
Other
210 stars 47 forks source link

bot fails to be triggered without error with multi-line deps line #390

Open lmiq opened 2 years ago

lmiq commented 2 years ago

I had a Project.toml file that contained a section like this:

[targets]
test = [ 
    "Test", 
    "TestItemRunner", 
    "Chemfiles", 
    "NearestNeighbors", 
    "ForwardDiff", 
    "Unitful", 
    "Measurements",
    "BenchmarkTools",
]

While this did not cause any error in package development and testing, it caused the registration bot to not be triggered: https://github.com/m3g/CellListMap.jl/commit/081fac8f02cb15d0a07e92a4ce764f78d6f92f3e

Changint the test line to:

test = [ "Test", "TestItemRunner", "Chemfiles", "NearestNeighbors", "ForwardDiff", "Unitful", "Measurements", "BenchmarkTools" ]

solved the issue: https://github.com/m3g/CellListMap.jl/commit/af03efcf01c33e68b0f4ef131851366430ac384e

DilumAluthge commented 2 years ago

At the very least, Registrator should post a comment with an error message.