-
Notifications
You must be signed in to change notification settings - Fork 46
48 lines (39 loc) · 1.03 KB
/
conda.yaml
File metadata and controls
48 lines (39 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: conda
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash -el {0} # -l for login shell (conda), -e to fail on error
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
python: "3.14"
env:
OS: ${{ matrix.os }}
PYTHON: ${{ matrix.python }}
steps:
- uses: actions/checkout@v4
- name: Setup Miniconda
uses: conda-incubator/setup-miniconda@v3
with:
mamba-version: "*"
channels: conda-forge,bioconda
channel-priority: strict
python-version: ${{ matrix.python }}
- name: install rattler-build
run: |
mamba install -y rattler-build python=${{ matrix.python }}
- name: build and test package
run: |
cd .conda && rattler-build build -c conda-forge -c bioconda