-
Notifications
You must be signed in to change notification settings - Fork 1
112 lines (107 loc) Β· 3.27 KB
/
main.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Testing:
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest ]
python-version: [ "3.11" ]
snakemake-version: [ 6, 7, 8 ]
exclude:
- python-version: "3.11" #package dep conflict
snakemake-version: 6
include:
- os: ubuntu-latest
python-version: "3.8"
snakemake-version: 7
- os: ubuntu-latest
python-version: "3.9"
snakemake-version: 7
- os: ubuntu-latest
python-version: "3.10"
snakemake-version: 7
#- os: ubuntu-latest ###### problem: snakemake bug; TypeError: SpawnedJobArgsFactory.general_args()
# python-version: "3.11"
# snakemake-version: "8.1"
- os: ubuntu-latest
python-version: "3.11"
snakemake-version: "8.2"
- os: ubuntu-latest
python-version: "3.11"
snakemake-version: "8.3"
- os: ubuntu-latest
python-version: "3.11"
snakemake-version: "8.4"
- os: ubuntu-latest
python-version: "3.11"
snakemake-version: "8.5"
- os: ubuntu-latest
python-version: "3.8"
snakemake-version: 7
############################################################
- os: macos-latest
python-version: "3.9"
snakemake-version: 7
- os: macos-latest
python-version: "3.10"
snakemake-version: 7
#- os: ubuntu-latest ###### problem: snakemake bug; TypeError: SpawnedJobArgsFactory.general_args()
# python-version: "3.11"
# snakemake-version: "8.1"
- os: macos-latest
python-version: "3.11"
snakemake-version: "8.2"
- os: macos-latest
python-version: "3.11"
snakemake-version: "8.3"
- os: macos-latest
python-version: "3.11"
snakemake-version: "8.4"
- os: macos-latest
python-version: "3.11"
snakemake-version: "8.5"
steps:
- uses: actions/checkout@v3
- uses: mamba-org/setup-micromamba@v1
with:
micromamba-version: "1.5.6-0"
environment-name: test-env
condarc: |
channels:
- conda-forge
- bioconda
- defaults
create-args: >-
python=${{ matrix.python-version }}
snakemake-minimal=${{ matrix.snakemake-version }}
mamba
make
init-shell: bash
cache-environment: true
post-cleanup: all
- name: Versions
shell: bash -el {0}
run: |
micromamba activate test-env
python -v
snakemake -v
- name: Make test
shell: bash -el {0}
run: |
micromamba activate test-env
make test
# - name: Make bigtest
# shell: bash -el {0}
# run: |
# make cleanall
# micromamba activate test-env
# make bigtest