Skip to content

Commit

Permalink
fix tests 4
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed Dec 18, 2023
1 parent 9f49340 commit df7d15e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
arch:
- x64
trixi_test:
- tree_part1
- all
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v1
Expand Down
2 changes: 0 additions & 2 deletions src/TrixiShallowWater.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ using Static: True, False

include("equations/equations.jl")

baz() = Trixi.examples_dir()

# export types/functions that define the public API of TrixiShallowWater.jl
export ShallowWaterEquationsWetDry1D
# TODO: These function are currently exported by Trixi.jl. Needs to be uncommented when removed from Trixi.jl
Expand Down
6 changes: 2 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ const TRIXI_MPI_NPROCS = clamp(Sys.CPU_THREADS, 2, 3)
const TRIXI_NTHREADS = clamp(Sys.CPU_THREADS, 2, 3)

@time @testset "TrixiShallowWater.jl tests" begin
@time if TRIXI_TEST == "all" || TRIXI_TEST == "tree_part1"
@time if TRIXI_TEST == "all"
include("test_tree_1d_shallowwater_wet_dry.jl")
end

@time if TRIXI_TEST == "all" || TRIXI_TEST == "upstream"
@testset "baz()" begin
@test TrixiShallowWater.baz() isa String
end

end
end

0 comments on commit df7d15e

Please sign in to comment.