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

Add Aqua tests #15

Merged
merged 1 commit into from
Feb 12, 2024
Merged
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
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
Loading