mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
ci(samtools): Run tests with pytest-workflow
This commit is contained in:
parent
b2cd464ad3
commit
445498d0c3
4 changed files with 56 additions and 32 deletions
22
.github/workflows/software/samtools_idxstats.yml
vendored
22
.github/workflows/software/samtools_idxstats.yml
vendored
|
@ -17,14 +17,20 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NXF_ANSI_LOG: false
|
NXF_ANSI_LOG: false
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Install Nextflow
|
||||||
|
run: |
|
||||||
|
export NXF_VER="20.07.1"
|
||||||
|
wget -qO- get.nextflow.io | bash
|
||||||
|
sudo mv nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@v2
|
||||||
export NXF_VER="20.07.1"
|
with:
|
||||||
wget -qO- get.nextflow.io | bash
|
python-version: "3.x"
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Install dependencies
|
||||||
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
# Test the module
|
# Test the module
|
||||||
- run: nextflow run ./software/samtools/idxstats/test/ -profile docker
|
- run: pytest --tag samtools_idxstats --symlink --wt 2
|
||||||
|
|
22
.github/workflows/software/samtools_index.yml
vendored
22
.github/workflows/software/samtools_index.yml
vendored
|
@ -17,14 +17,20 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NXF_ANSI_LOG: false
|
NXF_ANSI_LOG: false
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Install Nextflow
|
||||||
|
run: |
|
||||||
|
export NXF_VER="20.07.1"
|
||||||
|
wget -qO- get.nextflow.io | bash
|
||||||
|
sudo mv nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@v2
|
||||||
export NXF_VER="20.07.1"
|
with:
|
||||||
wget -qO- get.nextflow.io | bash
|
python-version: "3.x"
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Install dependencies
|
||||||
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
# Test the module
|
# Test the module
|
||||||
- run: nextflow run ./software/samtools/index/test/ -profile docker
|
- run: pytest --tag samtools_index --symlink --wt 2
|
||||||
|
|
22
.github/workflows/software/samtools_sort.yml
vendored
22
.github/workflows/software/samtools_sort.yml
vendored
|
@ -17,14 +17,20 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NXF_ANSI_LOG: false
|
NXF_ANSI_LOG: false
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Install Nextflow
|
||||||
|
run: |
|
||||||
|
export NXF_VER="20.07.1"
|
||||||
|
wget -qO- get.nextflow.io | bash
|
||||||
|
sudo mv nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@v2
|
||||||
export NXF_VER="20.07.1"
|
with:
|
||||||
wget -qO- get.nextflow.io | bash
|
python-version: "3.x"
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Install dependencies
|
||||||
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
# Test the module
|
# Test the module
|
||||||
- run: nextflow run ./software/samtools/sort/test/ -profile docker
|
- run: pytest --tag samtools_sort --symlink --wt 2
|
||||||
|
|
22
.github/workflows/software/samtools_stats.yml
vendored
22
.github/workflows/software/samtools_stats.yml
vendored
|
@ -17,14 +17,20 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NXF_ANSI_LOG: false
|
NXF_ANSI_LOG: false
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- name: Install Nextflow
|
||||||
|
run: |
|
||||||
|
export NXF_VER="20.07.1"
|
||||||
|
wget -qO- get.nextflow.io | bash
|
||||||
|
sudo mv nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Set up Python
|
||||||
run: |
|
uses: actions/setup-python@v2
|
||||||
export NXF_VER="20.07.1"
|
with:
|
||||||
wget -qO- get.nextflow.io | bash
|
python-version: "3.x"
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Install dependencies
|
||||||
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
# Test the module
|
# Test the module
|
||||||
- run: nextflow run ./software/samtools/stats/test/ -profile docker
|
- run: pytest --tag samtools_stats --symlink --wt 2
|
||||||
|
|
Loading…
Reference in a new issue