Skip to content

Commit

Permalink
Update CI to Julia v1.10 (#29)
Browse files Browse the repository at this point in the history
* set julia version for CI to 1.10

* update tolerances

* apply formatter; fix typos

* remove relative tolerances
  • Loading branch information
patrickersing authored Mar 13, 2024
1 parent 4644c7e commit 50efb6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
fail-fast: false
matrix:
version:
- '1.9'
- '1.10'
os:
- ubuntu-latest
- macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion test/test_tree_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ isdir(outdir) && rm(outdir, recursive = true)
4.4541473087633676e-7,
],
tspan=(0.0, 0.05),
atol=3e-10) # see https://github.com/trixi-framework/Trixi.jl/issues/1617
atol=1e-7) # see https://github.com/trixi-framework/Trixi.jl/issues/1617
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down
9 changes: 6 additions & 3 deletions test/test_unstructured_2d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ isdir(outdir) && rm(outdir, recursive = true)
2.0246214978154587e-11,
1.513851228231574,
],
tspan=(0.0, 0.25))
tspan=(0.0, 0.25),
atol=1e-10)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down Expand Up @@ -85,7 +86,8 @@ isdir(outdir) && rm(outdir, recursive = true)
surface_flux=(FluxHydrostaticReconstruction(flux_lax_friedrichs,
hydrostatic_reconstruction_audusse_etal),
flux_nonconservative_audusse_etal),
tspan=(0.0, 0.2))
tspan=(0.0, 0.2),
atol=1e-10)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down Expand Up @@ -115,7 +117,8 @@ isdir(outdir) && rm(outdir, recursive = true)
flux_nonconservative_ersing_etal),
volume_flux=(flux_wintermeyer_etal,
flux_nonconservative_ersing_etal),
tspan=(0.0, 0.25))
tspan=(0.0, 0.25),
atol=1e-10)
# Ensure that we do not have excessive memory allocations
# (e.g., from type instabilities)
let
Expand Down

0 comments on commit 50efb6d

Please sign in to comment.