Skip to content
Draft
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
22 changes: 10 additions & 12 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,35 @@ on:
- master
paths-ignore:
- 'docs/**'
schedule:
- cron: '25 16 * * 4'
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
group:
- Core
version:
- '1'
os:
- ubuntu-latest
- macos-latest
- windows-latest
version:
- '1'
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
3 changes: 2 additions & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
- 'release-'
tags: '*'
pull_request:

schedule:
- cron: '25 16 * * 4'
jobs:
build:
runs-on: ubuntu-latest
Expand Down
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: '25 16 * * 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
5 changes: 3 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Parameters = "0.12"
QuadGK = "2.4"
RecipesBase = "1.1"
RecursiveArrayTools = "2.38, 3"
SafeTestsets = "0.1"
SciMLBase = "2.9"
SciMLSensitivity = "7.49"
StaticArrays = "1.8"
Expand All @@ -53,6 +54,7 @@ DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
QuadGK = "1fd47b50-473d-5c70-9696-f719f8f3bcdc"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLSensitivity = "1ed8b502-d754-442c-8d5d-10ac956f44a1"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
Expand All @@ -61,5 +63,4 @@ Tracker = "9f7883ad-71c0-57eb-9f7f-b5c9e6d3789c"
Zygote = "e88e6eb3-aa80-5325-afca-941959d7151f"

[targets]
test = ["Aqua", "DataInterpolations", "OrdinaryDiffEq", "ODEProblemLibrary", "Test", "QuadGK", "SciMLSensitivity", "StaticArrays", "Tracker", "Zygote"]

test = ["Aqua", "SafeTestsets", "DataInterpolations", "OrdinaryDiffEq", "ODEProblemLibrary", "Test", "QuadGK", "SciMLSensitivity", "StaticArrays", "Tracker", "Zygote"]
1 change: 1 addition & 0 deletions test/integrating_sum_tests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using DiffEqCallbacks
using OrdinaryDiffEq, SciMLSensitivity, Zygote
using ForwardDiff
using QuadGK
Expand Down
1 change: 1 addition & 0 deletions test/integrating_tests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using DiffEqCallbacks
using OrdinaryDiffEq, SciMLSensitivity, Zygote
using ForwardDiff
using QuadGK
Expand Down
66 changes: 16 additions & 50 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,51 +1,17 @@
using DiffEqCallbacks
using Test
using SafeTestsets, Test

# write your own tests here
@time begin
@time @testset "Quality Assurance" begin
include("qa.jl")
end
@time @testset "AutoAbstol" begin
include("autoabstol_tests.jl")
end
@time @testset "TerminateSteadyState tests" begin
include("terminatesteadystate_test.jl")
end
@time @testset "StepsizeLimiter tests" begin
include("stepsizelimiter_tests.jl")
end
@time @testset "Function Calling tests" begin
include("funccall_tests.jl")
end
@time @testset "IndependentlyLinearized tests" begin
include("independentlylinearizedtests.jl")
end
@time @testset "Saving tests" begin
include("saving_tests.jl")
end
@time @testset "PresetTime tests" begin
include("preset_time.jl")
end
@time @testset "Iterative tests" begin
include("iterative_tests.jl")
end
@time @testset "Periodic tests" begin
include("periodic_tests.jl")
end
@time @testset "Manifold tests" begin
include("manifold_tests.jl")
end
@time @testset "Domain tests" begin
include("domain_tests.jl")
end
@time @testset "ProbInts tests" begin
include("probints.jl")
end
@time @testset "Integrating tests" begin
include("integrating_tests.jl")
end
@time @testset "Integrating sum tests" begin
include("integrating_sum_tests.jl")
end
end
@time @safetestset "Quality Assurance" include("qa.jl")
@time @safetestset "AutoAbstol" include("autoabstol_tests.jl")
@time @safetestset "TerminateSteadyState tests" include("terminatesteadystate_test.jl")
@time @safetestset "StepsizeLimiter tests" include("stepsizelimiter_tests.jl")
@time @safetestset "Function Calling tests" include("funccall_tests.jl")
@time @safetestset "IndependentlyLinearized tests" include("independentlylinearizedtests.jl")
@time @safetestset "Saving tests" include("saving_tests.jl")
@time @safetestset "PresetTime tests" include("preset_time.jl")
@time @safetestset "Iterative tests" include("iterative_tests.jl")
@time @safetestset "Periodic tests" include("periodic_tests.jl")
@time @safetestset "Manifold tests" include("manifold_tests.jl")
@time @safetestset "Domain tests" include("domain_tests.jl")
@time @safetestset "ProbInts tests" include("probints.jl")
@time @safetestset "Integrating tests" include("integrating_tests.jl")
@time @safetestset "Integrating sum tests" include("integrating_sum_tests.jl")