-
Notifications
You must be signed in to change notification settings - Fork 86
100 lines (96 loc) · 2.54 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
name: linux
on: [pull_request, push]
defaults:
run:
shell: bash -l {0}
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/snakePipesEnvCI.yml
activate-environment: snakePipes_CI
condarc-file: .github/condarc.yml
- name: Install snakePipes
run: |
pip install .[docs]
- name: docs
run: |
snakePipes config --tempDir /tmp
cd docs
make html
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/snakePipesEnvCI.yml
activate-environment: snakePipes_CI
condarc-file: .github/condarc.yml
- name: Install snakePipes
run: |
pip install .[actions]
- name: ruff
run: |
ruff check .
CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/snakePipesEnvCI.yml
activate-environment: snakePipes_CI
condarc-file: .github/condarc.yml
- name: Install snakePipes
run: |
pip install .
- 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'
]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
environment-file: .github/snakePipesEnvCI.yml
activate-environment: snakePipes_CI
condarc-file: .github/condarc.yml
- name: install snakePipes
run: |
pip install .
- name: createEnvs
run: |
snakePipes config --tempDir /tmp
snakePipes createEnvs --autodetectCondaEnvDir --only ${{matrix.envs}}