forked from sequana/variant_calling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Tests | ||
|
||
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 | ||
- 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-singularity --reference-file test/data/JB409847.fasta && cd variant_calling && sh variant_calling | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters