From bd797566999ca42f51d0debf95102da330776b44 Mon Sep 17 00:00:00 2001 From: zjwegert <60646897+zjwegert@users.noreply.github.com> Date: Wed, 15 May 2024 11:33:17 +1000 Subject: [PATCH] Don't run MPI tests in serial testing!! --- .github/workflows/ci_mpi.yml | 1 - test/mpi/runtests.jl | 4 ++++ test/runtests.jl | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci_mpi.yml b/.github/workflows/ci_mpi.yml index cdb51f44..f21a57c6 100644 --- a/.github/workflows/ci_mpi.yml +++ b/.github/workflows/ci_mpi.yml @@ -65,7 +65,6 @@ jobs: - run: julia --project=. -e 'using Pkg; Pkg.add("MPIPreferences")' - run: julia --project=. -e 'using MPIPreferences; MPIPreferences.use_system_binary()' - run: julia --project=. -e 'using Pkg; Pkg.build(); Pkg.precompile()' - - run: julia --project=. -e 'using GridapTopOpt' - run: julia --project=. --color=yes --check-bounds=yes test/mpi/runtests.jl - uses: codecov/codecov-action@v4 with: diff --git a/test/mpi/runtests.jl b/test/mpi/runtests.jl index 172e27bc..95cb8c22 100644 --- a/test/mpi/runtests.jl +++ b/test/mpi/runtests.jl @@ -2,6 +2,10 @@ module LSTOMPITests using Test using MPI +using GridapTopOpt + +using Gridap, GridapDistributed, GridapPETSc, GridapSolvers, + PartitionedArrays, SparseMatricesCSR testdir = @__DIR__ istest(f) = endswith(f, ".jl") && !(f=="runtests.jl") diff --git a/test/runtests.jl b/test/runtests.jl index cf6e0ec3..64966857 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,3 +1,2 @@ using Test -include("seq/runtests.jl") -include("mpi/runtests.jl") \ No newline at end of file +include("seq/runtests.jl") \ No newline at end of file