Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kulaga committed Jun 4, 2024
1 parent 3b79ae5 commit 3086b07
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,24 @@ jobs:
sudo apt-get install -y curl
mkdir -p $HOME/micromamba
curl -L https://micromamba.snakepit.net/api/micromamba/linux-64/latest | tar -xvj -C $HOME/micromamba --strip-components=1 bin/micromamba
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

- name: Create environment
run: |
$HOME/micromamba/micromamba create --name test-env python=${{ matrix.python-version }} -y -c conda-forge
$HOME/micromamba/micromamba install -n test-env -f environment.yaml -y -c conda-forge
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

- name: Install dependencies
run: $HOME/micromamba/micromamba install -n test-env -f environment.yaml -y -c conda-forge
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

- name: Set up Micromamba environment
run: echo "$HOME/micromamba/bin:$HOME/micromamba/envs/test-env/bin" >> $GITHUB_PATH

- name: Run tests
run: micromamba run -n test-env pytest
run: $HOME/micromamba/micromamba run -n test-env pytest
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

0 comments on commit 3086b07

Please sign in to comment.