-
Notifications
You must be signed in to change notification settings - Fork 88
120 lines (116 loc) · 2.82 KB
/
linux.yml
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
113
114
115
116
117
118
119
120
name: linux
on: [pull_request, push]
defaults:
run:
shell: bash -l {0}
jobs:
pip:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.11', '3.12' ,'3.13']
optdeps: [".", ".[actions]", ".[docs]"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: pip
run: |
pip install ${{ matrix.optdeps }}
docs:
needs: pip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install snakePipes
run: |
pip install .[docs]
- name: docs
run: |
snakePipes config --tempDir /tmp
cd docs
make html
lint:
needs: pip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install snakePipes
run: |
pip install .[actions]
- name: ruff
run: |
ruff check .
CI:
needs: pip
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/conda_ci.yml
activate-environment: conda_ci
condarc-file: .github/condarc.yml
- name: Install snakePipes
run: |
pip install .
- name: print_conda_env_export
run: |
conda env export
- name: print_pip_list
run: |
pip list
- name: CI
run: |
snakePipes config --tempDir /tmp
./.ci_stuff/test_dag.sh
createEnvs:
needs: CI
strategy:
fail-fast: false
matrix:
envs: [
'CONDA_SHARED_ENV',
'CONDA_CREATE_INDEX_ENV',
'CONDA_RNASEQ_ENV',
'CONDA_RMATS_ENV',
'CONDA_scRNASEQ_ENV',
'CONDA_seurat3_ENV',
'CONDA_loompy_ENV',
'CONDA_alevinqc_ENV',
'CONDA_eisaR_ENV',
'CONDA_DNA_MAPPING_ENV',
'CONDA_CHIPSEQ_ENV',
'CONDA_ATAC_ENV',
'CONDA_HIC_ENV',
'CONDA_WGBS_ENV',
'CONDA_DSS_ENV',
'CONDA_RMD_ENV',
'CONDA_PREPROCESSING_ENV',
'CONDA_NONCODING_RNASEQ_ENV',
'CONDA_SAMBAMBA_ENV',
'CONDA_pysam_ENV',
'CONDA_FQLINT_ENV'
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/conda_ci.yml
activate-environment: conda_ci
condarc-file: .github/condarc.yml
- name: install snakePipes
run: |
pip install .
- name: createEnvs
run: |
snakePipes config --tempDir /tmp
snakePipes createEnvs --only ${{matrix.envs}}