-
Notifications
You must be signed in to change notification settings - Fork 4
53 lines (48 loc) · 1.12 KB
/
ci.yaml
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
49
50
51
52
53
name: mof-search test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
main:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest]
python-version: [ 3.8, 3.9, "3.10", 3.11 ]
steps:
- uses: mamba-org/setup-micromamba@v1
name: Install dependencies
with:
micromamba-version: '1.5.3-0'
environment-name: ci
condarc: |
channels:
- conda-forge
- bioconda
- defaults
create-args: >-
python=${{ matrix.python-version }}
snakemake=7.32.4
mamba=1.5.3
init-shell: >-
bash
cache-environment: true
post-cleanup: 'all'
# installs gnu-time on macos
- name: Install gnu-time
if: matrix.os == 'macos-latest'
run: brew install gnu-time
- name: Check out code for the build
uses: actions/checkout@v2
with:
submodules: recursive
- name: Test
run: |
micromamba activate ci
make test
shell: bash -eol pipefail {0}