ci(samtools): Run tests with pytest-workflow

This commit is contained in:
Edmund Miller 2020-11-24 20:24:34 -06:00
parent b2cd464ad3
commit 445498d0c3
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
4 changed files with 56 additions and 32 deletions

View file

@ -17,14 +17,20 @@ jobs:
env:
NXF_ANSI_LOG: false
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
run: |
export NXF_VER="20.07.1"
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip pytest-workflow
# Test the module
- run: nextflow run ./software/samtools/idxstats/test/ -profile docker
# Test the module
- run: pytest --tag samtools_idxstats --symlink --wt 2

View file

@ -17,14 +17,20 @@ jobs:
env:
NXF_ANSI_LOG: false
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
run: |
export NXF_VER="20.07.1"
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip pytest-workflow
# Test the module
- run: nextflow run ./software/samtools/index/test/ -profile docker
# Test the module
- run: pytest --tag samtools_index --symlink --wt 2

View file

@ -17,14 +17,20 @@ jobs:
env:
NXF_ANSI_LOG: false
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
run: |
export NXF_VER="20.07.1"
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip pytest-workflow
# Test the module
- run: nextflow run ./software/samtools/sort/test/ -profile docker
# Test the module
- run: pytest --tag samtools_sort --symlink --wt 2

View file

@ -17,14 +17,20 @@ jobs:
env:
NXF_ANSI_LOG: false
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
run: |
export NXF_VER="20.07.1"
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install dependencies
run: python -m pip install --upgrade pip pytest-workflow
# Test the module
- run: nextflow run ./software/samtools/stats/test/ -profile docker
# Test the module
- run: pytest --tag samtools_stats --symlink --wt 2