Skip to content

Commit

Permalink
fix option and rename sing into apptainer
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Nov 21, 2022
1 parent 1db904d commit 50938d6
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions .github/workflows/apptainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: Singularity Run

on:
push:
branches:
- main
- dev
pull_request:
branches-ignore: []
schedule:
- cron: '0 0 * * SUN'

jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python: [3.7, 3.8, 3.9]
fail-fast: false


steps:

- name: install graphviz
run: |
sudo apt-get install -y graphviz
- name: checkout git repo
uses: actions/checkout@v2

- name: Set up Python 3.X
uses: actions/setup-python@v2
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]
- name: install package itself
run: |
pip install .
- name: testing
run: |
sequana_variant_calling --input-directory test/data/ --use-apptainer --reference-file test/data/JB409847.fasta && cd variant_calling && sh variant_calling.sh

0 comments on commit 50938d6

Please sign in to comment.