Skip to content

Commit

Permalink
Fix: Conda github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kayjan committed Oct 26, 2023
1 parent 148f2ad commit 589f149
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/conda-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
- name: Set up Conda
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: base
python-version: 3.11
channels: conda-forge
allow-softlinks: true
channel-priority: flexible
show-channel-urls: true
use-only-tar-bz2: true
miniforge-variant: Mambaforge
miniforge-version: latest
activate-environment: conda-env
environment-file: etc/conda-env.yml
- name: Install conda-forge CI
run: conda install -c conda-forge conda-smithy conda-forge-pinning
- name: Build package
Expand Down
8 changes: 8 additions & 0 deletions etc/conda-env.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: conda-env
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- black=22.10.0
- python=3.11.0

0 comments on commit 589f149

Please sign in to comment.