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

Commit

Permalink
Add Aqua tests
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Feb 12, 2024
1 parent 5664cc4 commit 763bab6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
cuDNN = "02a925ec-e4fe-4b08-9a7e-0d78e3d38ccd"

[compat]
Aqua = "0.8"
CUDA = "5.1"
Reexport = "1"
cuDNN = "1.3"
Test = "1.9"
julia = "1.9"

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

[targets]
test = ["Test"]
test = ["Aqua", "Test"]
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
using LuxCUDA, Test
using Aqua, LuxCUDA, Test

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

@test LuxCUDA.functional() isa Bool

Aqua.test_all(LuxCUDA; ambiguities=false)
Aqua.test_ambiguities(LuxCUDA)
end

0 comments on commit 763bab6

Please sign in to comment.