2020-03-06 14:31:44 +00:00
|
|
|
name: cutadapt
|
|
|
|
on:
|
2020-07-16 15:11:34 +00:00
|
|
|
push:
|
2020-07-16 15:14:57 +00:00
|
|
|
paths:
|
|
|
|
- software/cutadapt/**
|
|
|
|
- .github/workflows/cutadapt.yml
|
|
|
|
- tests
|
2020-03-06 14:31:44 +00:00
|
|
|
pull_request:
|
2020-07-16 15:14:57 +00:00
|
|
|
paths:
|
|
|
|
- software/cutadapt/**
|
|
|
|
- .github/workflows/cutadapt.yml
|
|
|
|
- tests
|
2020-03-06 14:31:44 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
run_ci_test:
|
|
|
|
runs-on: ubuntu-latest
|
2020-07-11 15:14:14 +00:00
|
|
|
env:
|
|
|
|
NXF_ANSI_LOG: false
|
2020-03-06 14:31:44 +00:00
|
|
|
steps:
|
2020-03-06 14:41:37 +00:00
|
|
|
- uses: actions/checkout@v2
|
2020-07-11 15:14:14 +00:00
|
|
|
|
2020-03-06 14:31:44 +00:00
|
|
|
- name: Install Nextflow
|
|
|
|
run: |
|
|
|
|
wget -qO- get.nextflow.io | bash
|
|
|
|
sudo mv nextflow /usr/local/bin/
|
|
|
|
|
2020-03-06 14:56:33 +00:00
|
|
|
- name: Test module with paired-end data
|
|
|
|
run: |
|
2020-07-11 15:14:14 +00:00
|
|
|
cd software/cutadapt/test/
|
|
|
|
nextflow run .
|
2020-03-06 14:56:33 +00:00
|
|
|
|
|
|
|
- name: Test module with single-end data
|
|
|
|
run: |
|
2020-07-11 15:14:14 +00:00
|
|
|
cd software/cutadapt/test/
|
|
|
|
nextflow run . --single_end
|