Skip to content

Commit

Permalink
Setup Aqua.jl (#19)
Browse files Browse the repository at this point in the history
* Setup Aqua.jl

* Add compat

* Fix Pkg.test
  • Loading branch information
tkf authored Mar 25, 2021
1 parent 4f0c30f commit bf3a481
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,14 @@ Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46"
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"

[compat]
Adapt = "2, 3"
Setfield = "0.3, 0.4, 0.5, 0.6, 0.7"
Transducers = "0.4"
julia = "1"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test"]
test = ["Aqua", "Test"]
6 changes: 6 additions & 0 deletions test/environments/jl10/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ git-tree-sha1 = "27edd95a09fd428113ca019c092e8aeca2eb1f2d"
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "3.0.0"

[[Aqua]]
deps = ["Pkg", "Test"]
git-tree-sha1 = "b28b1f08e814090ef35eec6ab974264b3a93c862"
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
version = "0.5.0"

[[ArgCheck]]
git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a"
uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
1 change: 1 addition & 0 deletions test/environments/jl10/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"
UnionArrays = "d6dd79e4-993b-11e9-1366-0de1c9fe1122"
6 changes: 6 additions & 0 deletions test/environments/main/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ git-tree-sha1 = "ffcfa2d345aaee0ef3d8346a073d5dd03c983ebe"
uuid = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
version = "3.2.0"

[[Aqua]]
deps = ["Pkg", "Test"]
git-tree-sha1 = "b28b1f08e814090ef35eec6ab974264b3a93c862"
uuid = "4c88cf16-eb10-579e-8560-4a9242c79595"
version = "0.5.0"

[[ArgCheck]]
git-tree-sha1 = "dedbbb2ddb876f899585c4ec4433265e3017215a"
uuid = "dce04be8-c92d-5529-be00-80e4d2c0e197"
Expand Down
1 change: 1 addition & 0 deletions test/environments/main/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Transducers = "28d57a85-8fef-5791-bfe6-a80928e7c999"
UnionArrays = "d6dd79e4-993b-11e9-1366-0de1c9fe1122"
15 changes: 15 additions & 0 deletions test/test_aqua.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module TestAqua

import Aqua
import UnionArrays
using Test

# Default `Aqua.test_all(UnionArrays)` does not work due to ambiguities
# in upstream packages.
Aqua.test_all(UnionArrays; ambiguities = false)

@testset "Method ambiguity" begin
Aqua.test_ambiguities(UnionArrays)
end

end # module

2 comments on commit bf3a481

@tkf
Copy link
Member Author

@tkf tkf commented on bf3a481 Mar 25, 2021

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/32760

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.1.0 -m "<description of version>" bf3a4813d7165e8fd4d75d4ba569b0d155e47046
git push origin v0.1.0

Please sign in to comment.