Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the Aqua workflow to test things further #436

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
arch:
- x64
group:
- 'Aqua'
- 'Transform'
- 'BaseKernels'
- 'Kernels'
Expand Down
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,14 @@ Distances = "0.10.9"
FillArrays = "0.10, 0.11, 0.12, 0.13, 1"
Functors = "0.1, 0.2, 0.3, 0.4"
IrrationalConstants = "0.1, 0.2"
LinearAlgebra = "1"
LogExpFunctions = "0.2.1, 0.3"
Random = "1"
Requires = "1.0.1"
SpecialFunctions = "0.8, 0.9, 0.10, 1, 2"
Statistics = "1"
StatsBase = "0.32, 0.33, 0.34"
TensorCore = "0.1"
Test = "1"
ZygoteRules = "0.2"
julia = "1.3"
2 changes: 2 additions & 0 deletions test/Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9"
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
ChainRulesTestUtils = "cdddcdb0-9152-4a09-a978-84456f9df70a"
Expand All @@ -22,6 +23,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Aqua = "0.8"
AxisArrays = "0.4.3"
Compat = "3, 4"
Distances = "0.10"
Expand Down
9 changes: 9 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using KernelFunctions

using Aqua
using AxisArrays
using ChainRulesCore
using ChainRulesTestUtils
Expand Down Expand Up @@ -64,6 +66,13 @@ const GROUP = get(ENV, "GROUP", "")
include("test_utils.jl")

@testset "KernelFunctions" begin
if GROUP == "" || GROUP == "Aqua"
@testset "Aqua" begin
Aqua.test_all(KernelFunctions; ambiguities=false)
# Ref https://github.com/JuliaTesting/Aqua.jl/issues/77
Aqua.test_ambiguities(KernelFunctions; recursive=false)
simsurace marked this conversation as resolved.
Show resolved Hide resolved
end
end
if GROUP == "" || GROUP == "Transform"
@testset "transform" begin
include("transform/transform.jl")
Expand Down
Loading