diff --git a/README.md b/README.md index 274c369..6e24ff3 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ -# ColorQuantization +# ColorQuantization.jl [![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://juliaimages.github.io/ColorQuantization.jl/stable/) [![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://juliaimages.github.io/ColorQuantization.jl/dev/) [![Build Status](https://github.com/JuliaImages/ColorQuantization.jl/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/JuliaImages/ColorQuantization.jl/actions/workflows/CI.yml?query=branch%3Amain) +[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl) [![Coverage](https://codecov.io/gh/JuliaImages/ColorQuantization.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/JuliaImages/ColorQuantization.jl) A Julia package to generate color palettes from images. diff --git a/test/Project.toml b/test/Project.toml index ac0be65..7ecac07 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -1,4 +1,5 @@ [deps] +Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" Colors = "5ae59095-9a9b-59fe-a467-6f913c188581" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" ReferenceTests = "324d217c-45ce-50fc-942e-d289b448e8cf" @@ -10,4 +11,4 @@ TestImages = "5e47fb64-e119-507b-a336-dd2b206d9990" Colors = "0.12" ReferenceTests = "0.10" StableRNGs = "1" -TestImages = "1" \ No newline at end of file +TestImages = "1" diff --git a/test/runtests.jl b/test/runtests.jl index 5027c32..11b5129 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,9 +1,15 @@ using ColorQuantization using Test +using Aqua using TestImages, ReferenceTests using Colors using Random, StableRNGs +# Run Aqua.jl quality assurance tests +Aqua.test_all(ColorQuantization; ambiguities=false) +Aqua.test_ambiguities([ColorQuantization, Core]) + +# Run package tests rng = StableRNG(123) Random.seed!(rng, 34568)