From eebad2ddfa4e425ecf92d69d673c061204d658a1 Mon Sep 17 00:00:00 2001 From: fazelehh <78154933+fazelehh@users.noreply.github.com> Date: Mon, 14 Oct 2024 11:13:38 +0200 Subject: [PATCH] Fix micromamba command (#161) * Fix micromamba command in GitHub Actions workflow * Fix micromamba command in GitHub Actions workflow to directly run the shell command * Fix micromamba command in GitHub Actions workflow * insuring micromamba is installed * Fix micromamba command in GitHub Actions workflow to directly run the shell command * insuring micromamba is installed --- .github/workflows/run_tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run_tests.yml b/.github/workflows/run_tests.yml index b625fde..6b36451 100644 --- a/.github/workflows/run_tests.yml +++ b/.github/workflows/run_tests.yml @@ -34,13 +34,14 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.9 + + - name: Install micromamba + run: | + curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj -C /usr/local/bin/ --strip-components=1 bin/micromamba - name: Install dependencies with micromamba - uses: mamba-org/provision-with-micromamba@main - with: - environment-file: environment.yml - environment-name: leakpro - cache-downloads: true + run: | + micromamba create --file environment.yml --name leakpro --root-prefix /home/runner/micromamba-root - name: Set PYTHONPATH run: echo "PYTHONPATH=$(pwd)" >> $GITHUB_ENV