Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing CI apptainer #10

Merged
merged 1 commit into from
Feb 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/workflows/apptainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,32 @@ jobs:
strategy:
max-parallel: 5
matrix:
python: [3.7, 3.8, 3.9]
python: [3.8, 3.9, '3.10']
fail-fast: false


steps:

- name: precleanup
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
- name: install graphviz
run: |
sudo apt-get install -y graphviz
sudo apt update
sudo apt-get install -y graphviz software-properties-common
sudo add-apt-repository -y ppa:apptainer/ppa
sudo apt update
sudo apt install -y apptainer

- name: checkout git repo
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Set up Python 3.X
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python }}

- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH

- name: conda
run: |
conda install -c conda-forge -c bioconda --quiet -y python=${{ matrix.python }} 'singularity>3'

- name: Install dependencies
run: |
pip install .[testing]
Expand Down
2 changes: 1 addition & 1 deletion sequana_pipelines/fastqc/fastqc.rules
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from sequana.utils.tree import HTMLDirectory
from sequana_pipetools import PipelineManager
from sequana_pipetools import snaketools as sm

# This must be defined before the include

configfile: "config.yaml"

manager = PipelineManager("fastqc", config)
Expand Down