Skip to content

Commit

Permalink
CI: Use micromamba to create test envs (#146)
Browse files Browse the repository at this point in the history
* CI: Use micromamba to create test envs

* Update unit-tests.yaml

* typo
  • Loading branch information
lithomas1 authored Feb 12, 2025
1 parent 105ad02 commit 7c5bd5f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
# use over setup python since this allows us to use older
# Pythons
- uses: mamba-org/setup-micromamba@v2
with:
python-version: ${{ matrix.python-version }}
# the create command looks like this:
# `micromamba create -n test-env python=(version)`
environment-name: test-env
create-args: python=${{ matrix.python-version }}

- name: Install Python packages
run: |
Expand Down

0 comments on commit 7c5bd5f

Please sign in to comment.