Skip to content

Commit

Permalink
Add Aqua tests; add [compat] for ImageBase (#61)
Browse files Browse the repository at this point in the history
The [compat] was missed in #60.
  • Loading branch information
timholy authored Jul 23, 2023
1 parent 70d52cf commit 7204c50
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,19 @@ ImageTransformations = "02fcd773-0e25-5acc-982a-7f6622650795"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"

[compat]
ImageBase = "0.1"
ImageCore = "0.9.3, 0.10"
ImageTransformations = "0.8.1, 0.9, 0.10"
Parameters = "0.12"
julia = "1"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
ImageFiltering = "6a3955dd-da59-5b1f-98d4-e7296123deb5"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990"

[targets]
test = ["Test", "ImageFiltering", "TestImages", "ImageMagick", "LinearAlgebra"]
test = ["Test", "Aqua", "ImageFiltering", "TestImages", "ImageMagick", "LinearAlgebra"]
8 changes: 8 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
using ImageContrastAdjustment
using Test, ImageCore, ImageFiltering, TestImages, LinearAlgebra
using Aqua

if Base.VERSION >= v"1.6"
@testset "Aqua" begin
# TODO: fix the ambiguity test
Aqua.test_all(ImageContrastAdjustment; ambiguities=false)
end
end

@testset "ImageContrastAdjustment.jl" begin
include("core.jl")
Expand Down

2 comments on commit 7204c50

@timholy
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/88126

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.12 -m "<description of version>" 7204c5077285948c5f8e73a2a63bf06564947147
git push origin v0.3.12

Please sign in to comment.