diff --git a/.github/workflows/CI_BoundaryValueDiffEq.yml b/.github/workflows/CI_BoundaryValueDiffEq.yml index b01c2fb6..c8d611fb 100644 --- a/.github/workflows/CI_BoundaryValueDiffEq.yml +++ b/.github/workflows/CI_BoundaryValueDiffEq.yml @@ -41,8 +41,6 @@ jobs: - "pre" os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/CI_BoundaryValueDiffEqAscher.yml b/.github/workflows/CI_BoundaryValueDiffEqAscher.yml index 3f790430..af385eb7 100644 --- a/.github/workflows/CI_BoundaryValueDiffEqAscher.yml +++ b/.github/workflows/CI_BoundaryValueDiffEqAscher.yml @@ -36,8 +36,6 @@ jobs: - core os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/CI_BoundaryValueDiffEqCore.yml b/.github/workflows/CI_BoundaryValueDiffEqCore.yml index 2f147994..810612c2 100644 --- a/.github/workflows/CI_BoundaryValueDiffEqCore.yml +++ b/.github/workflows/CI_BoundaryValueDiffEqCore.yml @@ -35,8 +35,6 @@ jobs: - core os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/CI_BoundaryValueDiffEqFIRK.yml b/.github/workflows/CI_BoundaryValueDiffEqFIRK.yml index 34e91fba..acd1a7eb 100644 --- a/.github/workflows/CI_BoundaryValueDiffEqFIRK.yml +++ b/.github/workflows/CI_BoundaryValueDiffEqFIRK.yml @@ -36,8 +36,6 @@ jobs: - core os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/CI_BoundaryValueDiffEqMIRK.yml b/.github/workflows/CI_BoundaryValueDiffEqMIRK.yml index e21d3e3c..7743b9f1 100644 --- a/.github/workflows/CI_BoundaryValueDiffEqMIRK.yml +++ b/.github/workflows/CI_BoundaryValueDiffEqMIRK.yml @@ -36,8 +36,6 @@ jobs: - core os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/.github/workflows/CI_BoundaryValueDiffEqShooting.yml b/.github/workflows/CI_BoundaryValueDiffEqShooting.yml index aa410fe1..c3f8b585 100644 --- a/.github/workflows/CI_BoundaryValueDiffEqShooting.yml +++ b/.github/workflows/CI_BoundaryValueDiffEqShooting.yml @@ -36,8 +36,6 @@ jobs: - core os: - ubuntu-latest - - macos-latest - - windows-latest steps: - uses: actions/checkout@v4 - uses: julia-actions/setup-julia@v2 diff --git a/lib/BoundaryValueDiffEqAscher/src/BoundaryValueDiffEqAscher.jl b/lib/BoundaryValueDiffEqAscher/src/BoundaryValueDiffEqAscher.jl index 5b4b81cc..870f39e6 100644 --- a/lib/BoundaryValueDiffEqAscher/src/BoundaryValueDiffEqAscher.jl +++ b/lib/BoundaryValueDiffEqAscher/src/BoundaryValueDiffEqAscher.jl @@ -7,7 +7,6 @@ using ConcreteStructs using FastClosures using ForwardDiff using LinearAlgebra -using NonlinearSolveFirstOrder using PreallocationTools using RecursiveArrayTools using Reexport diff --git a/lib/BoundaryValueDiffEqCore/test/runtest.jl b/lib/BoundaryValueDiffEqCore/test/runtest.jl new file mode 100644 index 00000000..72cb7cd4 --- /dev/null +++ b/lib/BoundaryValueDiffEqCore/test/runtest.jl @@ -0,0 +1,18 @@ +using ReTestItems, BoundaryValueDiffEqCore, Hwloc, InteractiveUtils, Pkg + +@info sprint(InteractiveUtils.versioninfo) + +const GROUP = lowercase(get(ENV, "GROUP", "All")) + +const RETESTITEMS_NWORKERS = parse(Int, + get(ENV, "RETESTITEMS_NWORKERS", + string(min(ifelse(Sys.iswindows(), 0, Hwloc.num_physical_cores()), 4)))) +const RETESTITEMS_NWORKER_THREADS = parse(Int, + get(ENV, "RETESTITEMS_NWORKER_THREADS", + string(max(Hwloc.num_virtual_cores() ÷ max(RETESTITEMS_NWORKERS, 1), 1)))) + +@info "Running tests for group: $(GROUP) with $(RETESTITEMS_NWORKERS) workers" + +ReTestItems.runtests( + BoundaryValueDiffEqCore; tags = (GROUP == "all" ? nothing : [Symbol(GROUP)]), + nworkers = RETESTITEMS_NWORKERS, nworker_threads = RETESTITEMS_NWORKER_THREADS) diff --git a/lib/BoundaryValueDiffEqFIRK/test/runtests.jl b/lib/BoundaryValueDiffEqFIRK/test/runtests.jl index 83490b06..1a91fd7b 100644 --- a/lib/BoundaryValueDiffEqFIRK/test/runtests.jl +++ b/lib/BoundaryValueDiffEqFIRK/test/runtests.jl @@ -1,4 +1,4 @@ -using ReTestItems, BoundaryValueDiffEqFIRK, Hwloc, InteractiveUtils, Pkg +using ReTestItems, BoundaryValueDiffEqFIRK, Hwloc, InteractiveUtils @info sprint(InteractiveUtils.versioninfo) diff --git a/lib/BoundaryValueDiffEqMIRK/test/runtests.jl b/lib/BoundaryValueDiffEqMIRK/test/runtests.jl index 24c2f717..43338555 100644 --- a/lib/BoundaryValueDiffEqMIRK/test/runtests.jl +++ b/lib/BoundaryValueDiffEqMIRK/test/runtests.jl @@ -1,4 +1,4 @@ -using ReTestItems, BoundaryValueDiffEqMIRK, Hwloc, InteractiveUtils, Pkg +using ReTestItems, BoundaryValueDiffEqMIRK, Hwloc, InteractiveUtils @info sprint(InteractiveUtils.versioninfo) diff --git a/lib/BoundaryValueDiffEqShooting/test/runtests.jl b/lib/BoundaryValueDiffEqShooting/test/runtests.jl new file mode 100644 index 00000000..e599d6ef --- /dev/null +++ b/lib/BoundaryValueDiffEqShooting/test/runtests.jl @@ -0,0 +1,18 @@ +using ReTestItems, BoundaryValueDiffEqShooting, Hwloc, InteractiveUtils + +@info sprint(InteractiveUtils.versioninfo) + +const GROUP = lowercase(get(ENV, "GROUP", "All")) + +const RETESTITEMS_NWORKERS = parse(Int, + get(ENV, "RETESTITEMS_NWORKERS", + string(min(ifelse(Sys.iswindows(), 0, Hwloc.num_physical_cores()), 4)))) +const RETESTITEMS_NWORKER_THREADS = parse(Int, + get(ENV, "RETESTITEMS_NWORKER_THREADS", + string(max(Hwloc.num_virtual_cores() ÷ max(RETESTITEMS_NWORKERS, 1), 1)))) + +@info "Running tests for group: $(GROUP) with $(RETESTITEMS_NWORKERS) workers" + +ReTestItems.runtests( + BoundaryValueDiffEqShooting; tags = (GROUP == "all" ? nothing : [Symbol(GROUP)]), + nworkers = RETESTITEMS_NWORKERS, nworker_threads = RETESTITEMS_NWORKER_THREADS)