From 580bf2b253c7b8353bde4d8fdbe171489b2d45d2 Mon Sep 17 00:00:00 2001 From: Joaquin Matres <4514346+joamatab@users.noreply.github.com> Date: Tue, 17 Oct 2023 16:57:41 -0700 Subject: [PATCH] fix install meep --- .github/install_meep.sh | 4 ---- .github/workflows/test_code.yml | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) delete mode 100644 .github/install_meep.sh diff --git a/.github/install_meep.sh b/.github/install_meep.sh deleted file mode 100644 index aec12586..00000000 --- a/.github/install_meep.sh +++ /dev/null @@ -1,4 +0,0 @@ -eval "$(micromamba shell hook --shell bash)" -micromamba create -p ./env -micromamba activate ./env/ -micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y diff --git a/.github/workflows/test_code.yml b/.github/workflows/test_code.yml index e65dc588..b255a983 100644 --- a/.github/workflows/test_code.yml +++ b/.github/workflows/test_code.yml @@ -63,10 +63,12 @@ jobs: init-shell: bash - name: Install dependencies run: | + micromamba create -p ./env + micromamba activate ./env/ + micromamba install -c conda-forge pymeep=*=mpi_mpich_* nlopt -y pip install -e .[dev] - name: Test with pytest run: | - make meep pytest gplugins/gmeep gplugins/modes test_non_pip: runs-on: ${{ matrix.os }}