Skip to content

Commit 4f6302b

Browse files
authored
Merge pull request #27 from cokelaer/main
Fixing CI action (apptainer)
2 parents 6e3e08e + d35a4b9 commit 4f6302b

File tree

4 files changed

+11
-17
lines changed

4 files changed

+11
-17
lines changed

.github/workflows/apptainer.yml

+8-13
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
max-parallel: 5
1818
matrix:
19-
python: [3.7, 3.8, 3.9]
19+
python: [3.8, 3.9, '3.10']
2020
fail-fast: false
2121

2222

@@ -28,25 +28,20 @@ jobs:
2828
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
2929
- name: install graphviz
3030
run: |
31-
sudo apt-get install -y graphviz
31+
sudo apt update
32+
sudo apt-get install -y graphviz software-properties-common
33+
sudo add-apt-repository -y ppa:apptainer/ppa
34+
sudo apt update
35+
sudo apt install -y apptainer
3236
3337
- name: checkout git repo
34-
uses: actions/checkout@v2
38+
uses: actions/checkout@v3
3539

3640
- name: Set up Python 3.X
37-
uses: actions/setup-python@v2
41+
uses: actions/setup-python@v3
3842
with:
3943
python-version: ${{ matrix.python }}
4044

41-
- name: Add conda to system path
42-
run: |
43-
# $CONDA is an environment variable pointing to the root of the miniconda directory
44-
echo $CONDA/bin >> $GITHUB_PATH
45-
46-
- name: conda
47-
run: |
48-
conda install -c conda-forge -c bioconda --quiet -y python=${{ matrix.python }} 'singularity>3'
49-
5045
- name: Install dependencies
5146
run: |
5247
pip install .[testing]

environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: sequana_fastqc
1+
name: sequana_rnaseq
22

33
channels:
44
- conda-forge

sequana_pipelines/rnaseq/main.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import subprocess
2121

2222
from sequana_pipetools.options import *
23+
from sequana_pipetools.options import before_pipeline
2324
from sequana_pipetools.misc import Colors
2425
from sequana_pipetools.info import sequana_epilog, sequana_prolog
2526
from sequana_pipetools import SequanaManager
@@ -164,8 +165,6 @@ def main(args=None):
164165
args = sys.argv
165166

166167
# whatever needs to be called by all pipeline before the options parsing
167-
from sequana_pipetools.options import before_pipeline
168-
169168
before_pipeline(NAME)
170169

171170
# option parsing including common epilog

sequana_pipelines/rnaseq/multiqc_config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ intro_text: "Report summarising cleaning (cutadapt section) and mapping (stat/bo
2828
report_header_info:
2929
- Authors: '<a href="http://github.com/sequana/sequana">Sequana developers</a>'
3030
- Want to know more?: 'See the <a href="http://sequana.readthedocs.io" target="_blank">Sequana</a> and <a href="http://github.com/sequana/sequana_rnaseq/" target="_blank"> sequana_rnaseq pipeline</a> documentation.'
31-
- Citations: 'If you used Sequanix, Sequana, Sequana_coverage tool, or any Sequana pipelines, please see <a href="http:/ /sequana.readthedocs.io">How to cite ?</a> section. In particular, if you use this report in a publication, please cite Sequana.'
31+
- Citations: 'If you used Sequanix, Sequana, Sequana_coverage tool, or any Sequana pipelines, please see <a href="http://sequana.readthedocs.io">How to cite ?</a> section. In particular, if you use this report in a publication, please cite Sequana.'
3232
- Contact E-mail: ''
3333
# - Project Type: 'Differential gene expression'
3434

0 commit comments

Comments
 (0)