Skip to content

Commit

Permalink
Fix incorrect packages using
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikQQY committed Nov 7, 2024
1 parent 6c0fc2a commit b1aff94
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEq.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ jobs:
- "pre"
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEqAscher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- core
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEqCore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ jobs:
- core
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEqFIRK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- core
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEqMIRK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- core
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/CI_BoundaryValueDiffEqShooting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ jobs:
- core
os:
- ubuntu-latest
- macos-latest
- windows-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ using ConcreteStructs
using FastClosures
using ForwardDiff
using LinearAlgebra
using NonlinearSolveFirstOrder
using PreallocationTools
using RecursiveArrayTools
using Reexport
Expand Down
18 changes: 18 additions & 0 deletions lib/BoundaryValueDiffEqCore/test/runtest.jl
Original file line number Diff line number Diff line change
@@ -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)
2 changes: 1 addition & 1 deletion lib/BoundaryValueDiffEqFIRK/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ReTestItems, BoundaryValueDiffEqFIRK, Hwloc, InteractiveUtils, Pkg
using ReTestItems, BoundaryValueDiffEqFIRK, Hwloc, InteractiveUtils

@info sprint(InteractiveUtils.versioninfo)

Expand Down
2 changes: 1 addition & 1 deletion lib/BoundaryValueDiffEqMIRK/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ReTestItems, BoundaryValueDiffEqMIRK, Hwloc, InteractiveUtils, Pkg
using ReTestItems, BoundaryValueDiffEqMIRK, Hwloc, InteractiveUtils

@info sprint(InteractiveUtils.versioninfo)

Expand Down
18 changes: 18 additions & 0 deletions lib/BoundaryValueDiffEqShooting/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b1aff94

Please sign in to comment.