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