mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Adding worflow yml for bowtie2_align and bowtie2_build
This commit is contained in:
parent
986b72cee9
commit
177693de49
2 changed files with 82 additions and 0 deletions
42
.github/workflows/bowtie2_align.yml
vendored
Normal file
42
.github/workflows/bowtie2_align.yml
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
name: bowtie2_align
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- software/bowtie2/align/**
|
||||
- software/bowtie2/build/**
|
||||
- .github/workflows/bowtie2_align.yml
|
||||
- tests/software/bowtie2/**
|
||||
pull_request:
|
||||
paths:
|
||||
- software/bowtie2/align/**
|
||||
- software/bowtie2/build/**
|
||||
- .github/workflows/bowtie2_align.yml
|
||||
- tests/software/bowtie2/**
|
||||
|
||||
jobs:
|
||||
ci_test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
nxf_version: [20.11.0-edge]
|
||||
env:
|
||||
NXF_ANSI_LOG: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Nextflow
|
||||
env:
|
||||
NXF_VER: ${{ matrix.nxf_version }}
|
||||
run: |
|
||||
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: pytest --tag bowtie2_align --symlink --wt 2
|
40
.github/workflows/bowtie2_build.yml
vendored
Normal file
40
.github/workflows/bowtie2_build.yml
vendored
Normal file
|
@ -0,0 +1,40 @@
|
|||
name: bowtie2_build
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- software/bowtie2/build/**
|
||||
- .github/workflows/bowtie2_build.yml
|
||||
- tests/software/bowtie2/**
|
||||
pull_request:
|
||||
paths:
|
||||
- software/bowtie2/build/**
|
||||
- .github/workflows/bowtie2_build.yml
|
||||
- tests/software/bowtie2/**
|
||||
|
||||
jobs:
|
||||
ci_test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
nxf_version: [20.11.0-edge]
|
||||
env:
|
||||
NXF_ANSI_LOG: false
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Install Nextflow
|
||||
env:
|
||||
NXF_VER: ${{ matrix.nxf_version }}
|
||||
run: |
|
||||
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: pytest --tag bowtie2_build --symlink --wt 2
|
Loading…
Reference in a new issue