Skip to content

Commit a04de3d

Browse files
authored
Test with Aqua (#180)
* Test with Aqua * Don't test Project.toml formatting on v1.6 * Fix version
1 parent 5be48d3 commit a04de3d

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

Project.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ArrayLayouts"
22
uuid = "4c555306-a7a7-4459-81d9-ec55ddd5c99a"
33
authors = ["Sheehan Olver <[email protected]>"]
4-
version = "1.4.2"
4+
version = "1.4.3"
55

66
[deps]
77
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
@@ -15,15 +15,19 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1515
ArrayLayoutsSparseArraysExt = "SparseArrays"
1616

1717
[compat]
18+
Aqua = "0.7"
1819
FillArrays = "1.2.1"
20+
LinearAlgebra = "1.6"
21+
SparseArrays = "1.6"
1922
julia = "1.6"
2023

2124
[extras]
25+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2226
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
2327
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2428
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2529
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
2630
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2731

2832
[targets]
29-
test = ["Base64", "Random", "StableRNGs", "SparseArrays", "Test"]
33+
test = ["Aqua", "Base64", "Random", "StableRNGs", "SparseArrays", "Test"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ A Julia package for describing array layouts and more general fast linear algebr
77
[![deps](https://juliahub.com/docs/General/ArrayLayouts/stable/deps.svg)](https://juliahub.com/ui/Packages/General/ArrayLayouts?t=2)
88
[![version](https://juliahub.com/docs/General/ArrayLayouts/stable/version.svg)](https://juliahub.com/ui/Packages/General/ArrayLayouts)
99
[![pkgeval](https://juliahub.com/docs/General/ArrayLayouts/stable/pkgeval.svg)](https://juliahub.com/ui/Packages/General/ArrayLayouts)
10+
[![Aqua QA](https://raw.githubusercontent.com/JuliaTesting/Aqua.jl/master/badge.svg)](https://github.com/JuliaTesting/Aqua.jl)
1011

1112
[![](https://img.shields.io/badge/docs-stable-blue.svg)](https://JuliaLinearAlgebra.github.io/ArrayLayouts.jl/stable)
1213
[![](https://img.shields.io/badge/docs-dev-blue.svg)](https://JuliaLinearAlgebra.github.io/ArrayLayouts.jl/dev)

test/runtests.jl

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,21 @@
1-
using ArrayLayouts, Random, FillArrays, Test, SparseArrays, Base64
1+
using ArrayLayouts
2+
import Aqua
3+
using Base64
4+
using FillArrays
5+
using Random
6+
using SparseArrays
7+
using Test
8+
29
import ArrayLayouts: MemoryLayout, @_layoutlmul, triangulardata
310

11+
@testset "Project quality" begin
12+
Aqua.test_all(ArrayLayouts,
13+
ambiguities = false,
14+
piracy = (; broken=true),
15+
project_toml_formatting = VERSION >= v"1.7",
16+
)
17+
end
18+
419
Random.seed!(0)
520

621
include("test_utils.jl")

0 commit comments

Comments
 (0)