From b8dc3e2eb5371d099a343048b2eced91fe57ff37 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Wed, 14 Aug 2024 15:44:25 -0500 Subject: [PATCH] prepare for running upstream CI --- examples/run_examples_short_ci.sh | 7 +++++++ test/test_chemistry.py | 1 + test/test_diffusion.py | 1 + test/test_multiphysics.py | 1 + 4 files changed, 10 insertions(+) create mode 100644 examples/run_examples_short_ci.sh diff --git a/examples/run_examples_short_ci.sh b/examples/run_examples_short_ci.sh new file mode 100644 index 000000000..644499315 --- /dev/null +++ b/examples/run_examples_short_ci.sh @@ -0,0 +1,7 @@ +#!/bin/bash + +set -o nounset + +SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +$SCRIPT_DIR/run_examples.sh $SCRIPT_DIR/examples wave.py diff --git a/test/test_chemistry.py b/test/test_chemistry.py index 19a17f815..2a9d407d7 100644 --- a/test/test_chemistry.py +++ b/test/test_chemistry.py @@ -50,6 +50,7 @@ [PytestPyOpenCLArrayContextFactory]) +@pytest.mark.slowtest @pytest.mark.parametrize(("mechname", "fuel", "rate_tol"), [("uiuc_7sp", "C2H4", 1e-11), ("sandiego", "H2", 1e-9)]) diff --git a/test/test_diffusion.py b/test/test_diffusion.py index 3fe28b333..86f6c658b 100644 --- a/test/test_diffusion.py +++ b/test/test_diffusion.py @@ -373,6 +373,7 @@ def sym_diffusion(dim, sym_kappa, sym_u): # # Working hypothesis: RHS lives in lower order polynomial space and thus doesn't # attain full-order convergence. +@pytest.mark.slowtest @pytest.mark.parametrize("order", [2, 3]) @pytest.mark.parametrize(("problem", "nsteps", "dt", "scales"), [ diff --git a/test/test_multiphysics.py b/test/test_multiphysics.py index 4a9344139..d6df31e79 100644 --- a/test/test_multiphysics.py +++ b/test/test_multiphysics.py @@ -152,6 +152,7 @@ def get_rhs(t, u): assert linf_err2 < 1e-9 +@pytest.mark.slowtest @pytest.mark.parametrize("order", [2, 3]) @pytest.mark.parametrize("use_overintegration", [False, True]) def test_thermally_coupled_fluid_wall(