Skip to content

Commit

Permalink
Fix micromamba command (#161)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
fazelehh authored Oct 14, 2024
1 parent 01bd9ca commit eebad2d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eebad2d

Please sign in to comment.