2020-03-06 14:31:44 +00:00
|
|
|
name: cutadapt
|
|
|
|
on:
|
|
|
|
push: {}
|
|
|
|
pull_request:
|
2020-07-11 12:36:12 +00:00
|
|
|
paths: software/cutadapt/*
|
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:41:37 +00:00
|
|
|
- name: Checkout submodules
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
|
|
|
git submodule sync --recursive
|
|
|
|
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
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
|