Skip to content
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

more CI #192

Merged
merged 2 commits into from
Jan 11, 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
26 changes: 14 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,33 +10,35 @@ on:
- master
paths-ignore:
- 'docs/**'
schedule:
- cron: '33 1 * * 4'
jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
group:
- Core
version:
- '1.9'
- '1'
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: actions/cache@v3
env:
cache-name: cache-artifacts
- uses: julia-actions/cache@v1
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
token: ${{ secrets.GITHUB_TOKEN }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
with:
depwarn: error
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v3
with:
file: lcov.info
file: lcov.info
18 changes: 15 additions & 3 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,32 @@ on:
- master
paths-ignore:
- 'docs/**'
schedule:
- cron: '33 1 * * 4'
jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['1']
group:
- Core
version:
- '1'
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
- uses: cjdoris/julia-downgrade-compat-action@v1
# if: ${{ matrix.version == '1.6' }}
with:
skip: Pkg,TOML
- uses: julia-actions/cache@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ DifferentialEquations = "7"
Distances = "0.10"
Distributions = "0.24.5, 0.25"
LIBSVM = "0.8"
LinearAlgebra = "1.9"
LinearAlgebra = "1.10"
MLJLinearModels = "0.9.2"
NNlib = "0.8.4, 0.9"
Optim = "1"
Random = "1"
SafeTestsets = "0.1"
SparseArrays = "1.9"
Statistics = "1.9"
SparseArrays = "1.10"
Statistics = "1.10"
Test = "1"
julia = "1.6"

Expand Down
38 changes: 10 additions & 28 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,38 +1,20 @@
using SafeTestsets
using Test

@testset "Common Utilities " begin
@safetestset "Quality Assurance" begin
include("qa.jl")
end
@safetestset "States" begin
include("test_states.jl")
end
@testset "Common Utilities" begin
@safetestset "Quality Assurance" begin include("qa.jl") end
@safetestset "States" begin include("test_states.jl") end
end

@testset "Echo State Networks" begin
@safetestset "ESN Input Layers" begin
include("esn/test_input_layers.jl")
end
@safetestset "ESN Reservoirs" begin
include("esn/test_reservoirs.jl")
end
@safetestset "ESN States" begin
include("esn/test_states.jl")
end
@safetestset "ESN Train and Predict" begin
include("esn/test_train.jl")
end
@safetestset "ESN Drivers" begin
include("esn/test_drivers.jl")
end
@safetestset "Hybrid ESN" begin
include("esn/test_hybrid.jl")
end
@safetestset "ESN Input Layers" begin include("esn/test_input_layers.jl") end
@safetestset "ESN Reservoirs" begin include("esn/test_reservoirs.jl") end
@safetestset "ESN States" begin include("esn/test_states.jl") end
@safetestset "ESN Train and Predict" begin include("esn/test_train.jl") end
@safetestset "ESN Drivers" begin include("esn/test_drivers.jl") end
@safetestset "Hybrid ESN" begin include("esn/test_hybrid.jl") end
end

@testset "CA based Reservoirs" begin
@safetestset "RECA" begin
include("reca/test_predictive.jl")
end
@safetestset "RECA" begin include("reca/test_predictive.jl") end
end
Loading