Skip to content

Commit

Permalink
ci: work around setup-miniconda not respecting python-version
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarrison committed Feb 12, 2025
1 parent 0901f72 commit ed24ecd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ jobs:
uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
auto-activate-base: false
miniforge-version: latest
python-version: ${{ matrix.python-version }}
python-version: "${{ matrix.python-version }}"
conda-remove-defaults: true
auto-activate-base: false
activate-environment: ""

- name: Install dependencies
shell: bash -l {0}
run: |
conda create -q --yes -n test python=${{ matrix.python-version }} numpy=${{ matrix.numpy-version }} nomkl
conda create -n test python=${{ matrix.python-version }} numpy=${{ matrix.numpy-version }} nomkl
conda activate test
- name: Display PATH, compiler, python
Expand Down

0 comments on commit ed24ecd

Please sign in to comment.