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
Changes from 6 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
@@ -29,6 +29,7 @@ jobs:
arch:
- x64
group:
- 'Aqua'
- 'Transform'
- 'BaseKernels'
- 'Kernels'
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"
@@ -22,6 +23,7 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[compat]
Aqua = "0.5"
simsurace marked this conversation as resolved.
Show resolved Hide resolved
AxisArrays = "0.4.3"
Compat = "3, 4"
Distances = "0.10"
11 changes: 11 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
@@ -64,6 +66,15 @@ 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)
@testset "Method Ambiguity" begin
Aqua.test_ambiguities([KernelFunctions, Base, Core]; recursive=false)
# Avoid checking extra package ambiguity issues
end
simsurace marked this conversation as resolved.
Show resolved Hide resolved
end
end
if GROUP == "" || GROUP == "Transform"
@testset "transform" begin
include("transform/transform.jl")