Refactor GitHub actions workflows

This commit is contained in:
Phil Ewels 2019-12-05 15:44:10 +01:00
parent 8837c2b81d
commit 497573fc5d
4 changed files with 54 additions and 26 deletions

18
.github/workflows/fastqc.yml vendored Normal file
View 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
View 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
View 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/

View file

@ -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/