Skip to content

Test on current stable release instead of nightly #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Feb 10, 2022
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
12 changes: 8 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: CI
on:
- push
- pull_request
pull_request:
branches:
- master
push:
branches:
- master
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
Expand All @@ -11,7 +15,7 @@ jobs:
matrix:
version:
- '1.6'
- 'nightly'
- '1'
os:
- ubuntu-latest
arch:
Expand Down Expand Up @@ -56,4 +60,4 @@ jobs:
using Documenter: DocMeta, doctest
using OperatorLearning
DocMeta.setdocmeta!(OperatorLearning, :DocTestSetup, :(using OperatorLearning); recursive=true)
doctest(OperatorLearning)'
doctest(OperatorLearning)'
14 changes: 7 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ version = "0.2.1"
CUDA = "052768ef-5323-5732-b1bb-66c8b64840ba"
FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
MAT = "23992714-dd62-5051-b70f-ba57cb901cac"
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
OMEinsum = "ebe7aa44-baf0-506c-a96f-8464559b3922"
PkgTemplates = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
CUDA = "3"
FFTW = "1"
Flux = "0.12"
MAT = "0.10"
NNlib = "0.8"
OMEinsum = "0.6"
PkgTemplates = "0.7"
Revise = "3"
julia = "1.6"

[extras]
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Pkg", "Test"]
10 changes: 10 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
using Pkg
const LONGER_TESTS = false
const GROUP = get(ENV, "GROUP", "All")

using OperatorLearning
using Test
using Random

Random.seed!(0)

if GROUP == "All" || GROUP == "Core"
@testset "FourierLayer" begin
include("fourierlayer.jl")
end
Expand All @@ -15,3 +20,8 @@ end
@testset "Weights" begin
include("complexweights.jl")
end
end

if GROUP == "GPU"
# Add GPU Tests Here
end