mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
ci(pytest-workflow): Fix trigger paths
This commit is contained in:
parent
6eeb930bdb
commit
036427d73c
12 changed files with 62 additions and 63 deletions
8
.github/workflows/software/bwa_index.yml
vendored
8
.github/workflows/software/bwa_index.yml
vendored
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/bwa/index/**
|
- software/bwa/index/**
|
||||||
- .github/workflows/bwa_index.yml
|
- .github/workflows/software/bwa_index.yml
|
||||||
- tests
|
- tests/software/bwa/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/bwa/index/**
|
- software/bwa/index/**
|
||||||
- .github/workflows/bwa_index.yml
|
- .github/workflows/software/bwa_index.yml
|
||||||
- tests
|
- tests/software/bwa/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
8
.github/workflows/software/bwa_mem.yml
vendored
8
.github/workflows/software/bwa_mem.yml
vendored
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/bwa/mem/**
|
- software/bwa/mem/**
|
||||||
- .github/workflows/bwa_mem.yml
|
- .github/workflows/software/bwa_mem.yml
|
||||||
- tests
|
- tests/software/bwa/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/bwa/mem/**
|
- software/bwa/mem/**
|
||||||
- .github/workflows/bwa_mem.yml
|
- .github/workflows/software/bwa_mem.yml
|
||||||
- tests
|
- tests/software/bwa/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
37
.github/workflows/software/fastqc.yml
vendored
37
.github/workflows/software/fastqc.yml
vendored
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/fastqc/**
|
- software/fastqc/**
|
||||||
- .github/workflows/fastqc.yml
|
- .github/workflows/software/fastqc.yml
|
||||||
- tests
|
- tests/software/fastqc/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/fastqc/**
|
- software/fastqc/**
|
||||||
- .github/workflows/fastqc.yml
|
- .github/workflows/software/fastqc.yml
|
||||||
- tests
|
- tests/software/fastqc/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
@ -17,21 +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
|
||||||
|
|
||||||
- name: Set up Python
|
# Test the module
|
||||||
uses: actions/setup-python@v2
|
- run: pytest --tag fastqc --symlink --wt 2
|
||||||
with:
|
|
||||||
python-version: "3.x"
|
|
||||||
- name: Install dependencies
|
|
||||||
run: python -m pip install --upgrade pip pytest-workflow
|
|
||||||
|
|
||||||
# Test the module
|
|
||||||
- run: pytest --tag fastqc --symlink --wt 2
|
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/collectmultiplemetrics/**
|
- software/picard/collectmultiplemetrics/**
|
||||||
- .github/workflows/picard_collectmultiplemetrics.yml
|
- .github/workflows/software/picard_collectmultiplemetrics.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/collectmultiplemetrics/**
|
- software/picard/collectmultiplemetrics/**
|
||||||
- .github/workflows/picard_collectmultiplemetrics.yml
|
- .github/workflows/software/picard_collectmultiplemetrics.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/markduplicates/**
|
- software/picard/markduplicates/**
|
||||||
- .github/workflows/picard_markduplicates.yml
|
- .github/workflows/software/picard_markduplicates.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/markduplicates/**
|
- software/picard/markduplicates/**
|
||||||
- .github/workflows/picard_markduplicates.yml
|
- .github/workflows/software/picard_markduplicates.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/mergesamfiles/**
|
- software/picard/mergesamfiles/**
|
||||||
- .github/workflows/picard_mergesamfiles.yml
|
- .github/workflows/software/picard_mergesamfiles.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/picard/mergesamfiles/**
|
- software/picard/mergesamfiles/**
|
||||||
- .github/workflows/picard_mergesamfiles.yml
|
- .github/workflows/software/picard_mergesamfiles.yml
|
||||||
- tests
|
- tests/software/picard/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/flagstat/**
|
- software/samtools/flagstat/**
|
||||||
- .github/workflows/samtools_flagstat.yml
|
- .github/workflows/software/samtools_flagstat.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/flagstat/**
|
- software/samtools/flagstat/**
|
||||||
- .github/workflows/samtools_flagstat.yml
|
- .github/workflows/software/samtools_flagstat.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/idxstats/**
|
- software/samtools/idxstats/**
|
||||||
- .github/workflows/samtools_idxstats.yml
|
- .github/workflows/software/samtools_idxstats.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/idxstats/**
|
- software/samtools/idxstats/**
|
||||||
- .github/workflows/samtools_idxstats.yml
|
- .github/workflows/software/samtools_idxstats.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/index/**
|
- software/samtools/index/**
|
||||||
- .github/workflows/samtools_index.yml
|
- .github/workflows/software/samtools_index.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/index/**
|
- software/samtools/index/**
|
||||||
- .github/workflows/samtools_index.yml
|
- .github/workflows/software/samtools_index.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
8
.github/workflows/software/samtools_sort.yml
vendored
8
.github/workflows/software/samtools_sort.yml
vendored
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/sort/**
|
- software/samtools/sort/**
|
||||||
- .github/workflows/samtools_sort.yml
|
- .github/workflows/software/samtools_sort.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/sort/**
|
- software/samtools/sort/**
|
||||||
- .github/workflows/samtools_sort.yml
|
- .github/workflows/software/samtools_sort.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/stats/**
|
- software/samtools/stats/**
|
||||||
- .github/workflows/samtools_stats.yml
|
- .github/workflows/software/software/samtools_stats.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/samtools/stats/**
|
- software/samtools/stats/**
|
||||||
- .github/workflows/samtools_stats.yml
|
- .github/workflows/software/software/samtools_stats.yml
|
||||||
- tests
|
- tests/software/samtools/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
8
.github/workflows/software/trimgalore.yml
vendored
8
.github/workflows/software/trimgalore.yml
vendored
|
@ -3,13 +3,13 @@ on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- software/trimgalore/**
|
- software/trimgalore/**
|
||||||
- .github/workflows/trimgalore.yml
|
- .github/workflows/software/trimgalore.yml
|
||||||
- tests
|
- tests/software/trimgalore/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- software/trimgalore/**
|
- software/trimgalore/**
|
||||||
- .github/workflows/trimgalore.yml
|
- .github/workflows/software/trimgalore.yml
|
||||||
- tests
|
- tests/software/trimgalore/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci_test:
|
ci_test:
|
||||||
|
|
Loading…
Reference in a new issue