Skip to content

Commit

Permalink
Run tests for AlgoimUtils only in x86
Browse files Browse the repository at this point in the history
  • Loading branch information
ericneiva committed Jan 5, 2024
1 parent 8ab1ebe commit e5d5476
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 9 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,41 @@ jobs:
- run: |
julia --color=yes --project=. --check-bounds=yes --depwarn=error -e '
(1,) .== 1; include("test/GridapEmbeddedTests/runtests.jl")'
algoimutils:
name: AlgoimUtils ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.8'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- run: |
julia --color=yes --project=. --check-bounds=yes --depwarn=error -e '
using Pkg; Pkg.instantiate()'
- run: |
julia --color=yes --project=. --check-bounds=yes --depwarn=error -e '
(1,) .== 1; include("test/AlgoimUtilsTests/runtests.jl")'
docs:
name: Documentation
runs-on: ubuntu-latest
Expand Down
14 changes: 7 additions & 7 deletions test/AlgoimUtilsTests/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ module AlgoimTests

using Test

@testset "AlgoimInterface" begin include("AlgoimInterfaceTests.jl") end
@time @testset "AlgoimInterface" begin include("AlgoimInterfaceTests.jl") end

@testset "QuadratureDegree" begin include("QuadratureDegreeTests.jl") end
@time @testset "QuadratureDegree" begin include("QuadratureDegreeTests.jl") end

@testset "DualQuadratures" begin include("DualQuadraturesTests.jl") end
@time @testset "DualQuadratures" begin include("DualQuadraturesTests.jl") end

@testset "PoissonAlgoim" begin include("PoissonAlgoimTests.jl") end
@time @testset "PoissonAlgoim" begin include("PoissonAlgoimTests.jl") end

@testset "ClosestPoint" begin include("ClosestPointTests.jl") end
@time @testset "ClosestPoint" begin include("ClosestPointTests.jl") end

@testset "VolumeConservation" begin include("VolumeConservationTests.jl") end
@time @testset "VolumeConservation" begin include("VolumeConservationTests.jl") end

@testset "Visualization" begin include("VisualizationTests.jl") end
@time @testset "Visualization" begin include("VisualizationTests.jl") end

end # module
2 changes: 0 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ if QHULL_LOADED

@time @testset "MomentFittedQuadratures" begin include("MomentFittedQuadraturesTests/runtests.jl") end

@time @testset "AlgoimUtils" begin include("AlgoimUtilsTests/runtests.jl") end

include(joinpath(@__DIR__,"..","examples","runexamples.jl"))

else
Expand Down

0 comments on commit e5d5476

Please sign in to comment.