Skip to content
This repository was archived by the owner on Nov 3, 2024. It is now read-only.

Commit 6fe0134

Browse files
author
Avik Pal
authored
Merge pull request #15 from LuxDL/ap/aqua
Add Aqua tests
2 parents 5664cc4 + 763bab6 commit 6fe0134

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,16 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
99
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"
1010

1111
[compat]
12+
Aqua = "0.8"
1213
CUDA = "5.1"
1314
Reexport = "1"
1415
cuDNN = "1.3"
1516
Test = "1.9"
1617
julia = "1.9"
1718

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

2123
[targets]
22-
test = ["Test"]
24+
test = ["Aqua", "Test"]

test/runtests.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
using LuxCUDA, Test
1+
using Aqua, LuxCUDA, Test
22

33
@testset "LuxCUDA" begin
44
@test LuxCUDA.USE_CUDA_GPU[] === nothing
55

66
@test LuxCUDA.functional() isa Bool
7+
8+
Aqua.test_all(LuxCUDA; ambiguities=false)
9+
Aqua.test_ambiguities(LuxCUDA)
710
end

0 commit comments

Comments
 (0)