From 01080e18230166d900bea100dbb81945bfd2a08f Mon Sep 17 00:00:00 2001 From: Matthias Diener <mdiener@illinois.edu> Date: Thu, 3 Mar 2022 14:50:49 -0600 Subject: [PATCH] test mirgecom examples in CI (#221) * also test mirgecom examples in CI * reorder * also test production * remove production test (won't work without emirge) * only test examples for mirgecom --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4c6b9a2d..ac2f4e94 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -130,6 +130,14 @@ jobs: sed -i "/mpi4py/ d" requirements.txt fi build_py_project_in_conda_env - test_py_project + + if test "$DOWNSTREAM_PROJECT" = "mirgecom"; then + # Test main branch + # Only test examples, not pytest tests, as those take too much time. + examples/run_examples.sh ./examples + else + test_py_project + fi + # vim: sw=4 -- GitLab