Skip to content
Merged
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
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@ jobs:
fail-fast: false
matrix:
version:
- '1.6'
- 'lts'
- '1'
- 'nightly'
- 'pre'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v2
- uses: codecov/codecov-action@v5
with:
files: lcov.info
docs:
Expand All @@ -44,8 +44,8 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
Expand Down
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ColorQuantization"
uuid = "652893fb-f6a0-4a00-a44a-7fb8fac69e01"
authors = ["Adrian Hill <adrian.hill@mailbox.org>"]
version = "0.1.3"
version = "0.1.4-DEV"

[deps]
Clustering = "aaaa29a8-35af-508c-8bc3-b662a17a0fe5"
Expand All @@ -11,6 +11,7 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
Clustering = "0.14.3, 0.15"
Colors = "0.12"
Colors = "0.12, 0.13"
ImageBase = "0.1"
Random = "1"
julia = "1.6"
2 changes: 1 addition & 1 deletion test/references/KMeansQuantization8_N0f8.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
████████
████████
2 changes: 1 addition & 1 deletion test/references/KMeansQuantization8_N0f8_HSV.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
████████
████████
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ using Random, StableRNGs
using Colors: RGB, HSV
using FixedPointNumbers: N0f8

# 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)
Expand All @@ -23,6 +19,10 @@ algs_deterministic = Dict(
)

@testset "ColorQuantization.jl" begin
@testset "Aqua.jl quality assurance tests" begin
Aqua.test_all(ColorQuantization; ambiguities=false)
Aqua.test_ambiguities([ColorQuantization, Core])
end
# Reference tests on deterministic methods
@testset "Reference tests" begin
for (name, alg) in algs_deterministic
Expand Down
Loading