From 5c64c759b7b8a464149a05f1d78cc765302018b6 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Sun, 26 Dec 2021 15:37:28 +0100
Subject: [PATCH] Mirgecom downstream CI: Use mpi4py from conda

---
 .github/workflows/ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index dfc3cc5..c00fcd5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -148,17 +148,16 @@ jobs:
 
                 if test "$DOWNSTREAM_PROJECT" = "mirgecom"; then
                     # can't turn off MPI in mirgecom
-                    sudo apt-get update
-                    sudo apt-get install openmpi-bin libopenmpi-dev
                     export CONDA_ENVIRONMENT=conda-env.yml
                     export CISUPPORT_PARALLEL_PYTEST=no
+                    echo "- mpi4py" >> "$CONDA_ENVIRONMENT"
                 else
                     sed -i "/mpi4py/ d" requirements.txt
                 fi
 
                 build_py_project_in_conda_env
                 test_py_project
-                
+
                 if [[ "$DOWNSTREAM_PROJECT" = "meshmode" ]]; then
                     python ../examples/simple-dg.py --lazy
                 fi
-- 
GitLab