Skip to content

Commit

Permalink
one more CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Kulaga committed Jun 4, 2024
1 parent 9b0e254 commit 098b524
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/python-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,26 @@ jobs:
- name: Create environment
run: |
$HOME/micromamba/micromamba create --root-prefix $HOME/micromamba --name just-agents -y -c conda-forge python=${{ matrix.python-version }}
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

- name: Verify environment creation
run: |
$HOME/micromamba/micromamba env list
ls -al $HOME/micromamba/envs/just-agents
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

- name: Install dependencies
run: |
$HOME/micromamba/micromamba install --root-prefix $HOME/micromamba -n just-agents -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/just-agents/bin" >> $GITHUB_PATH
- name: Verify environment creation
run: |
$HOME/micromamba/micromamba env list
ls -al $HOME/micromamba/envs/just-agents
- name: Install just-agents package
run: |
$HOME/micromamba/micromamba run -n just-agents pip install -e .
Expand All @@ -57,3 +62,5 @@ jobs:
$HOME/micromamba/micromamba run -n just-agents which python
$HOME/micromamba/micromamba run -n just-agents which pytest
$HOME/micromamba/micromamba run -n just-agents pytest
env:
MAMBA_ROOT_PREFIX: $HOME/micromamba

0 comments on commit 098b524

Please sign in to comment.