Skip to content

Commit 9b16e02

Browse files
Merge pull request #30 from SciML/CI_update
Test on current stable release instead of nightly
2 parents 90516c4 + 65c7a48 commit 9b16e02

File tree

3 files changed

+25
-11
lines changed

3 files changed

+25
-11
lines changed

.github/workflows/CI.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
name: CI
22
on:
3-
- push
4-
- pull_request
3+
pull_request:
4+
branches:
5+
- master
6+
push:
7+
branches:
8+
- master
59
jobs:
610
test:
711
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -11,7 +15,7 @@ jobs:
1115
matrix:
1216
version:
1317
- '1.6'
14-
- 'nightly'
18+
- '1'
1519
os:
1620
- ubuntu-latest
1721
arch:
@@ -56,4 +60,4 @@ jobs:
5660
using Documenter: DocMeta, doctest
5761
using OperatorLearning
5862
DocMeta.setdocmeta!(OperatorLearning, :DocTestSetup, :(using OperatorLearning); recursive=true)
59-
doctest(OperatorLearning)'
63+
doctest(OperatorLearning)'

Project.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ 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"
2016
FFTW = "1"
2117
Flux = "0.12"
22-
MAT = "0.10"
2318
NNlib = "0.8"
2419
OMEinsum = "0.6"
25-
PkgTemplates = "0.7"
26-
Revise = "3"
2720
julia = "1.6"
21+
22+
[extras]
23+
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
24+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
25+
26+
[targets]
27+
test = ["Pkg", "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)