Skip to content
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: 7 additions & 5 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ jobs:
- "1"
- "lts"
- "pre"
os:
- "ubuntu-latest"
- "macos-latest"
- "windows-latest"
group:
- Core
- Methods
- Extensions
- Misc
- QA
uses: "SciML/.github/.github/workflows/tests.yml@v1"
with:
julia-version: "${{ matrix.version }}"
os: "${{ matrix.os }}"
group: "${{ matrix.group }}"
secrets: "inherit"
5 changes: 5 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ makedocs(modules = [DataInterpolations],
linkcheck = true,
format = Documenter.HTML(assets = ["assets/favicon.ico"],
canonical = "https://docs.sciml.ai/DataInterpolations/stable/"),
linkcheck_ignore = [
"https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/interp.pdf",
],
pages = [
"index.md",
"Interpolation methods" => "methods.md",
Expand All @@ -23,4 +26,6 @@ makedocs(modules = [DataInterpolations],
"Inverting Integrals" => "inverting_integrals.md"
])



deploydocs(repo = "github.com/SciML/DataInterpolations.jl"; push_preview = true)
56 changes: 41 additions & 15 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
using SafeTestsets

@safetestset "Quality Assurance" include("qa.jl")
@safetestset "Interface" include("interface.jl")
@safetestset "Parameter Tests" include("parameter_tests.jl")
@safetestset "Interpolation Tests" include("interpolation_tests.jl")
@safetestset "Derivative Tests" include("derivative_tests.jl")
@safetestset "Integral Tests" include("integral_tests.jl")
@safetestset "Integral Inverse Tests" include("integral_inverse_tests.jl")
@safetestset "Extrapolation Tests" include("extrapolation_tests.jl")
@safetestset "SparseConnectivityTracer Tests" include("sparseconnectivitytracer_tests.jl")
@safetestset "Online Tests" include("online_tests.jl")
@safetestset "Regularization Smoothing Tests" include("regularization.jl")
@safetestset "Show methods Tests" include("show.jl")
@safetestset "Zygote support Tests" include("zygote_tests.jl")
using SafeTestsets, Test

const GROUP = get(ENV, "GROUP", "All")

@time begin
if GROUP == "All" || GROUP == "Core"
@testset "Core" begin
@safetestset "Interface" include("interface.jl")
@safetestset "Parameter Tests" include("parameter_tests.jl")
@safetestset "Interpolation Tests" include("interpolation_tests.jl")
@safetestset "Extrapolation Tests" include("extrapolation_tests.jl")
end
end

if GROUP == "All" || GROUP == "Methods"
@testset "Methods" begin
@safetestset "Derivative Tests" include("derivative_tests.jl")
@safetestset "Integral Tests" include("integral_tests.jl")
@safetestset "Integral Inverse Tests" include("integral_inverse_tests.jl")
@safetestset "Online Tests" include("online_tests.jl")
@safetestset "Regularization Smoothing Tests" include("regularization.jl")
end
end

if GROUP == "All" || GROUP == "Extensions"
@testset "Extensions" begin
@safetestset "SparseConnectivityTracer Tests" include("sparseconnectivitytracer_tests.jl")
@safetestset "Zygote support Tests" include("zygote_tests.jl")
end
end

if GROUP == "All" || GROUP == "Misc"
@testset "Misc" begin
@safetestset "Show methods Tests" include("show.jl")
end
end

if GROUP == "QA"
@safetestset "Quality Assurance" include("qa.jl")
end
end
Loading