From 9338e8d3dada13beaa6b93ca77a4cebcd4bb55c7 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 11 Aug 2024 23:26:37 +0000 Subject: [PATCH] * micromamba ci fix --- .github/workflows/ci_micromamba.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_micromamba.yml b/.github/workflows/ci_micromamba.yml index 2276430..28b89c4 100644 --- a/.github/workflows/ci_micromamba.yml +++ b/.github/workflows/ci_micromamba.yml @@ -24,13 +24,14 @@ jobs: - name: Create or update environment with Micromamba run: | micromamba create -n hariplotterenv -f environment.yml --yes - micromamba activate hariplotterenv - # Install the current package in editable mode - pip install -e . + - name: Install the package in editable mode + run: | + micromamba run -n hariplotterenv pip install -e . - # Install pytest in the environment - micromamba install -n hariplotterenv pytest --yes + - name: Install pytest in the environment + run: | + micromamba run -n hariplotterenv micromamba install pytest --yes - name: Run tests with pytest run: |