mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-10 20:23:10 +00:00
Refactor GitHub actions workflows
This commit is contained in:
parent
8837c2b81d
commit
497573fc5d
4 changed files with 54 additions and 26 deletions
18
.github/workflows/fastqc.yml
vendored
Normal file
18
.github/workflows/fastqc.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: tools/fastqc/*
|
||||||
|
pull_request:
|
||||||
|
paths: tools/fastqc/*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run_multiqc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
# Check out the repository
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
# Test the module
|
||||||
|
- name: FastQC
|
||||||
|
run: nextflow run ./tools/fastqc/test/
|
18
.github/workflows/samtools_index.yml
vendored
Normal file
18
.github/workflows/samtools_index.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: tools/samtools/sort*
|
||||||
|
pull_request:
|
||||||
|
paths: tools/samtools/sort*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run_multiqc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
# Check out the repository
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
# Test the module
|
||||||
|
- name: samtools sort
|
||||||
|
run: nextflow run ./tools/samtools/sort/test/
|
18
.github/workflows/samtools_sort.yml
vendored
Normal file
18
.github/workflows/samtools_sort.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: tools/samtools/index*
|
||||||
|
pull_request:
|
||||||
|
paths: tools/samtools/index*
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run_multiqc:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
|
||||||
|
# Check out the repository
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
# Test the module
|
||||||
|
- name: samtools index
|
||||||
|
run: nextflow run ./tools/samtools/index/test/
|
26
.github/workflows/test-processes.yml
vendored
26
.github/workflows/test-processes.yml
vendored
|
@ -1,26 +0,0 @@
|
||||||
name: "nf-core/modules CI"
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
run_multiqc:
|
|
||||||
name: Test modules
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
|
|
||||||
# Check out the repository
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
|
|
||||||
# Test each module
|
|
||||||
|
|
||||||
- name: FastQC
|
|
||||||
paths: tools/fastqc/*
|
|
||||||
run: nextflow run ./tools/fastqc/test/
|
|
||||||
|
|
||||||
- name: samtools sort
|
|
||||||
paths: tools/samtoosl/sort*
|
|
||||||
run: nextflow run ./tools/samtools/sort/test/
|
|
||||||
|
|
||||||
- name: samtools index
|
|
||||||
paths: tools/samtoosl/index*
|
|
||||||
run: nextflow run ./tools/samtools/index/test/
|
|
Loading…
Reference in a new issue