Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpre committed Jan 13, 2025
1 parent 7c564b3 commit 214ac2b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,15 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
if: ${{ matrix.PACKAGE_MANAGER == 'conda' }}
with:
auto-activate-base: true
miniforge-version: latest
activate-environment: ${{ matrix.ENVIRONMENT_NAME }}
python-version: ${{ matrix.PYTHON_VERSION }}
miniforge-variant: Mambaforge
conda-remove-defaults: "true"

- name: Install pip (conda)
if: ${{ matrix.PACKAGE_MANAGER == 'conda' }}
run: |
mamba install pip
- uses: actions/setup-python@v5
if: ${{ matrix.PACKAGE_MANAGER == 'pip' }}
Expand Down Expand Up @@ -94,6 +99,14 @@ jobs:
run: |
mamba install ${{ matrix.TEST_DEPS }}
- name: Mamba info
run: |
mamba info
- name: Conda list
run: |
conda list
- name: Run test suite
shell: bash -l {0}
run: |
Expand All @@ -104,4 +117,3 @@ jobs:
run: |
start_jupyter_cm
start_jupyter_cm --remove

0 comments on commit 214ac2b

Please sign in to comment.