Skip to content

Commit 9a87c1d

Browse files
committed
fixes
2 parents f5e21b3 + 218a078 commit 9a87c1d

File tree

41 files changed

+764
-1150
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+764
-1150
lines changed

.github/workflows/ci.yml

Lines changed: 104 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,28 @@ on:
1212
jobs:
1313

1414
snakemake-graphs-format:
15-
runs-on: ubuntu-20.04
15+
16+
runs-on: ubuntu-latest
1617
defaults:
1718
run:
1819
shell: bash -l {0}
1920
steps:
2021

21-
- name: Checkout zarp repository
22+
- name: Checkout ZARP repository
2223
uses: actions/checkout@v4
2324

24-
- name: Setup miniconda & zarp env
25+
- name: Setup Miniforge with ZARP environment
2526
uses: conda-incubator/setup-miniconda@v3
2627
with:
27-
python-version: "3.10"
28-
mamba-version: "1"
29-
channels: conda-forge
30-
channel-priority: true
31-
auto-update-conda: false
32-
activate-environment: zarp
33-
environment-file: install/environment.yml
28+
environment-file: install/environment.dev.yml
29+
miniforge-version: latest
30+
conda-remove-defaults: true
31+
channel-priority: strict
32+
auto-update-conda: true
3433
auto-activate-base: false
34+
activate-environment: zarp
3535

36-
- name: Update zarp env with root. packages
37-
run: mamba env update -p $CONDA_PREFIX -f install/environment.root.yml
38-
39-
- name: Update zarp env with dev. packages
40-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
41-
42-
- name: Display all miniconda & env info
36+
- name: Display Conda and environment info
4337
run: |
4438
conda info -a
4539
conda list
@@ -56,195 +50,197 @@ jobs:
5650
- name: Run test script for snakemake DAG
5751
run: bash tests/test_create_dag_image/test.sh
5852

53+
integration-apptainer:
5954

60-
integration-singularity:
6155
needs:
6256
- snakemake-graphs-format
63-
runs-on: ubuntu-20.04
57+
runs-on: ubuntu-latest
6458
defaults:
6559
run:
6660
shell: bash -l {0}
6761
steps:
6862

69-
- name: Checkout zarp repository
63+
- name: Checkout ZARP repository
7064
uses: actions/checkout@v4
7165

72-
- name: Setup miniconda & zarp env
66+
- name: Setup Miniforge with ZARP environment
7367
uses: conda-incubator/setup-miniconda@v3
7468
with:
75-
python-version: "3.10"
76-
mamba-version: "1"
77-
channels: conda-forge
78-
channel-priority: true
79-
auto-update-conda: false
80-
activate-environment: zarp
81-
environment-file: install/environment.yml
69+
environment-file: install/environment.dev.yml
70+
miniforge-version: latest
71+
conda-remove-defaults: true
72+
channel-priority: strict
73+
auto-update-conda: true
8274
auto-activate-base: false
75+
activate-environment: zarp
8376

84-
- name: Update zarp env with root. packages
85-
run: |
86-
mamba --version
87-
mamba env update -p $CONDA_PREFIX -f install/environment.root.yml
88-
89-
- name: Update zarp env with dev. packages
90-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
77+
- name: Install Apptainer
78+
uses: eWaterCycle/setup-apptainer@v2
79+
with:
80+
apptainer-version: 1.3.6
9181

92-
- name: Display all miniconda & env info
82+
- name: Display Conda and environment info
9383
run: |
9484
conda info -a
9585
conda list
86+
9687
- name: Run test script
9788
run: bash tests/test_integration_workflow/test.local.sh
9889

9990
- name: Run htsinfer test script
100-
run: bash tests/test_htsinfer_with_singularity/test.local.sh
91+
run: bash tests/test_htsinfer_with_apptainer/test.local.sh
10192

10293
- name: Run SRA downloads workflow
103-
run: bash tests/test_sra_download_with_singularity/test.local.sh
94+
run: bash tests/test_sra_download_with_apptainer/test.local.sh
95+
96+
integration-apptainer-tempflag:
10497

105-
integration-singularity-tempflag:
10698
needs:
10799
- snakemake-graphs-format
108-
runs-on: ubuntu-20.04
100+
runs-on: ubuntu-latest
109101
defaults:
110102
run:
111103
shell: bash -l {0}
112104
steps:
113105

114-
- name: Checkout zarp repository
106+
- name: Checkout ZARP repository
115107
uses: actions/checkout@v4
116108

117-
- name: Setup miniconda & zarp env
109+
- name: Setup Miniforge with ZARP environment
118110
uses: conda-incubator/setup-miniconda@v3
119111
with:
120-
python-version: "3.10"
121-
mamba-version: "1"
122-
channels: conda-forge
123-
channel-priority: true
124-
auto-update-conda: false
125-
activate-environment: zarp
126-
environment-file: install/environment.yml
112+
environment-file: install/environment.dev.yml
113+
miniforge-version: latest
114+
conda-remove-defaults: true
115+
channel-priority: strict
116+
auto-update-conda: true
127117
auto-activate-base: false
118+
activate-environment: zarp
128119

129-
- name: Update zarp env with root. packages
130-
run: mamba env update -p $CONDA_PREFIX -f install/environment.root.yml
120+
- name: Display Conda and environment info
121+
run: |
122+
conda info -a
123+
conda list
131124
132-
- name: Update zarp env with dev. packages
133-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
125+
- name: Install Apptainer
126+
uses: eWaterCycle/setup-apptainer@v2
127+
with:
128+
apptainer-version: 1.3.6
134129

135130
- name: Display all miniconda & env info
136131
run: |
137132
conda info -a
138133
conda list
134+
139135
- name: Run test script
140136
run: bash tests/test_integration_workflow/test.temp.flag.sh
141137

142-
integration-singularity-MultipleLanes:
138+
integration-apptainer-MultipleLanes:
139+
143140
needs:
144141
- snakemake-graphs-format
145-
runs-on: ubuntu-20.04
142+
runs-on: ubuntu-latest
146143
defaults:
147144
run:
148145
shell: bash -l {0}
149146
steps:
150147

151-
- name: Checkout zarp repository
148+
- name: Checkout ZARP repository
152149
uses: actions/checkout@v4
153150

154-
- name: Setup miniconda & zarp env
151+
- name: Setup Miniforge with ZARP environment
155152
uses: conda-incubator/setup-miniconda@v3
156153
with:
157-
python-version: "3.10"
158-
mamba-version: "1"
159-
channels: conda-forge
160-
channel-priority: true
161-
auto-update-conda: false
162-
activate-environment: zarp
163-
environment-file: install/environment.yml
154+
environment-file: install/environment.dev.yml
155+
miniforge-version: latest
156+
conda-remove-defaults: true
157+
channel-priority: strict
158+
auto-update-conda: true
164159
auto-activate-base: false
160+
activate-environment: zarp
165161

166-
- name: Update zarp env with root. packages
167-
run: mamba env update -p $CONDA_PREFIX -f install/environment.root.yml
162+
- name: Display Conda and environment info
163+
run: |
164+
conda info -a
165+
conda list
168166
169-
- name: Update zarp env with dev. packages
170-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
167+
- name: Install Apptainer
168+
uses: eWaterCycle/setup-apptainer@v2
169+
with:
170+
apptainer-version: 1.3.6
171171

172172
- name: Display all miniconda & env info
173173
run: |
174174
conda info -a
175175
conda list
176+
176177
- name: Run test script
177178
run: bash tests/test_integration_workflow_multiple_lanes/test.local.sh
178179

179180
integration-conda:
181+
180182
needs:
181183
- snakemake-graphs-format
182-
runs-on: ubuntu-20.04
184+
runs-on: ubuntu-latest
183185
defaults:
184186
run:
185187
shell: bash -l {0}
186188
steps:
187189

188-
- name: Checkout zarp repository
190+
- name: Checkout ZARP repository
189191
uses: actions/checkout@v4
190192

191-
- name: Setup miniconda & zarp env
193+
- name: Setup Miniforge with ZARP environment
192194
uses: conda-incubator/setup-miniconda@v3
193195
with:
194-
python-version: "3.10"
195-
mamba-version: "1"
196-
channels: conda-forge
197-
channel-priority: true
198-
auto-update-conda: false
199-
activate-environment: zarp
200-
environment-file: install/environment.yml
196+
environment-file: install/environment.dev.yml
197+
miniforge-version: latest
198+
conda-remove-defaults: true
199+
channel-priority: strict
200+
auto-update-conda: true
201201
auto-activate-base: false
202+
activate-environment: zarp
202203

203-
- name: Update zarp env with dev. packages
204-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
205-
206-
- name: Display all miniconda & env info
204+
- name: Display Conda and environment info
207205
run: |
208206
conda info -a
209207
conda list
208+
210209
- name: Run test script
211210
run: bash tests/test_integration_workflow_with_conda/test.local.sh
212211

213-
- name: Run htsinfer test script
212+
- name: Run HTSinfer workflow test script
214213
run: bash tests/test_htsinfer_with_conda/test.local.sh
215214

216-
- name: Run SRA downloads workflow
215+
- name: Run SRA downloads workflow test script
217216
run: bash tests/test_sra_download_with_conda/test.local.sh
218217

219218
integration-docker:
219+
220220
needs:
221221
- snakemake-graphs-format
222-
runs-on: ubuntu-20.04
222+
runs-on: ubuntu-latest
223223
defaults:
224224
run:
225225
shell: bash -l {0}
226226
steps:
227227

228-
- name: Checkout zarp repository
229-
uses: actions/checkout@v4
230-
231-
- name: Setup miniconda & zarp env
232-
uses: conda-incubator/setup-miniconda@v3
233-
with:
234-
python-version: "3.10"
235-
mamba-version: "1"
236-
channels: conda-forge
237-
channel-priority: true
238-
auto-update-conda: false
239-
activate-environment: zarp
240-
environment-file: install/environment.yml
241-
auto-activate-base: false
242-
243-
- name: Update zarp env with dev. packages
244-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
245-
246-
- name: Run test script
247-
run: bash tests/test_integration_workflow_with_docker/test.local.sh
248-
249-
- name: Clean up
250-
run: rm -rf data
228+
- name: Checkout ZARP repository
229+
uses: actions/checkout@v4
230+
231+
- name: Setup Miniforge with ZARP environment
232+
uses: conda-incubator/setup-miniconda@v3
233+
with:
234+
environment-file: install/environment.dev.yml
235+
miniforge-version: latest
236+
conda-remove-defaults: true
237+
channel-priority: strict
238+
auto-update-conda: true
239+
auto-activate-base: false
240+
activate-environment: zarp
241+
242+
- name: Run test script
243+
run: bash tests/test_integration_workflow_with_docker/test.local.sh
244+
245+
- name: Clean up
246+
run: rm -rf data%

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- name: Checkout Code
13+
- name: Checkout ZARP repository
1414
uses: actions/checkout@v4
1515

16-
- name: Update CHANGELOG
16+
- name: Update CHANGELOG.md
1717
id: changelog
1818
uses: Requarks/changelog-action@v1
1919
with:
2020
token: ${{ github.token }}
2121
tag: ${{ github.ref_name }}
2222

23-
- name: Create Release
23+
- name: Create release
2424
uses: ncipollo/release-action@v1
2525
with:
2626
allowUpdates: true

.github/workflows/docs.yml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,21 @@ jobs:
1414
shell: bash -l {0}
1515

1616
steps:
17-
- name: Checkout zarp repository
17+
- name: Checkout ZARP repository
1818
uses: actions/checkout@v4
1919

20-
- name: Setup miniconda & zarp env
20+
- name: Setup Miniforge with ZARP environment
2121
uses: conda-incubator/setup-miniconda@v3
2222
with:
23-
python-version: "3.10"
24-
mamba-version: "1"
25-
channels: conda-forge
26-
channel-priority: true
27-
auto-update-conda: false
28-
activate-environment: zarp
29-
environment-file: install/environment.yml
23+
environment-file: install/environment.dev.yml
24+
miniforge-version: latest
25+
conda-remove-defaults: true
26+
channel-priority: strict
27+
auto-update-conda: true
3028
auto-activate-base: false
29+
activate-environment: zarp
3130

32-
- name: Update zarp env with root. packages
33-
run: mamba env update -p $CONDA_PREFIX -f install/environment.root.yml
34-
35-
- name: Update zarp env with dev. packages
36-
run: mamba env update -p $CONDA_PREFIX -f install/environment.dev.yml
37-
38-
- name: Display all miniconda & env info
31+
- name: Display Conda and environment info
3932
run: |
4033
conda info -a
4134
conda list
File renamed without changes.

0 commit comments

Comments
 (0)