Skip to content

Commit 474c705

Browse files
Fix up tests and dependencies
1 parent 13131b9 commit 474c705

File tree

2 files changed

+16
-5
lines changed

2 files changed

+16
-5
lines changed

Project.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,9 @@ version = "0.2.1"
77
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
88
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
99
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
10-
MAT = "23992714-dd62-5051-b70f-ba57cb901cac"
1110
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1211
OMEinsum = "ebe7aa44-baf0-506c-a96f-8464559b3922"
13-
PkgTemplates = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
1412
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
15-
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
16-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1713

1814
[compat]
1915
CUDA = "3"
@@ -22,6 +18,11 @@ Flux = "0.12"
2218
MAT = "0.10"
2319
NNlib = "0.8"
2420
OMEinsum = "0.6"
25-
PkgTemplates = "0.7"
2621
Revise = "3"
2722
julia = "1.6"
23+
24+
[extras]
25+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
26+
27+
[targets]
28+
test = ["Test"]

test/runtests.jl

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
using Pkg
2+
const LONGER_TESTS = false
3+
const GROUP = get(ENV, "GROUP", "All")
4+
15
using OperatorLearning
26
using Test
37
using Random
48

59
Random.seed!(0)
610

11+
if GROUP == "All" || GROUP == "Core"
712
@testset "FourierLayer" begin
813
include("fourierlayer.jl")
914
end
@@ -15,3 +20,8 @@ end
1520
@testset "Weights" begin
1621
include("complexweights.jl")
1722
end
23+
end
24+
25+
if GROUP == "GPU"
26+
# Add GPU Tests Here
27+
end

0 commit comments

Comments
 (0)