Skip to content

Commit

Permalink
use pixi.lock to check conda usage
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Feb 10, 2024
1 parent 706bffa commit f759c17
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/dev_envs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,14 @@ jobs:
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-${{ hashFiles('environment.yml') }}

- name: setup conda
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: "3.10"
channels: conda-forge,bioconda
miniforge-variant: Mambaforge
miniforge-version: latest
use-mamba: true
mamba-version: "*"
activate-environment: sourmash_dev
auto-update-conda: false
auto-activate-base: false
use-only-tar-bz2: true

- name: install dependencies
shell: bash -l {0}
run: mamba install 'tox>=3.27,<4' tox-conda rust git compilers pandoc libstdcxx-ng
run: conda create -n sourmash_dev --file pixi.lock

- name: run tests for 3.10
shell: bash -l {0}
Expand Down

0 comments on commit f759c17

Please sign in to comment.