diff --git a/.github/workflows/Tests.yml b/.github/workflows/Tests.yml index 9235c8c0..deb12cb4 100644 --- a/.github/workflows/Tests.yml +++ b/.github/workflows/Tests.yml @@ -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" diff --git a/docs/make.jl b/docs/make.jl index a7525bc3..bf664015 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -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", @@ -23,4 +26,6 @@ makedocs(modules = [DataInterpolations], "Inverting Integrals" => "inverting_integrals.md" ]) + + deploydocs(repo = "github.com/SciML/DataInterpolations.jl"; push_preview = true) diff --git a/test/runtests.jl b/test/runtests.jl index 1ef2ca66..5754bd8f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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 \ No newline at end of file