From e6d9e7ed7f9f67130c211a06edb9dc95d9355d13 Mon Sep 17 00:00:00 2001 From: Amrit K Date: Tue, 19 Dec 2023 15:43:08 -0500 Subject: [PATCH] Install mpi4py first --- .github/workflows/integration_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/integration_tests.yml b/.github/workflows/integration_tests.yml index a6cddc382..fd332a0fb 100644 --- a/.github/workflows/integration_tests.yml +++ b/.github/workflows/integration_tests.yml @@ -42,7 +42,6 @@ jobs: run: | export PATH=/opt/openmpi-4.1.5/bin:$PATH export LD_LIBRARY_PATH=/opt/openmpi-4.1.5/lib:$LD_LIBRARY_PATH - export MPICC=/opt/openmpi-4.1.5/bin/mpicc:$MPICC ompi_info - uses: actions/checkout@v3 - name: Install poetry @@ -54,6 +53,7 @@ jobs: run: | poetry env use '3.10' source $(poetry env info --path)/bin/activate + env MPICC=/opt/openmpi-4.1.5/bin/mpicc python -m pip install git+https://github.com/mpi4py/mpi4py poetry install --with test,dev --all-extras coverage run -m pytest -m integration_test && coverage xml && coverage report -m - name: Upload coverage to Codecov