nf-core_modules/.github/workflows/cutadapt.yml
2020-07-11 17:14:14 +02:00

35 lines
927 B
YAML

name: cutadapt
on:
push: {}
pull_request:
paths: software/cutadapt/*
jobs:
run_ci_test:
runs-on: ubuntu-latest
env:
NXF_ANSI_LOG: false
steps:
- uses: actions/checkout@v2
- 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
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Test module with paired-end data
run: |
cd software/cutadapt/test/
nextflow run .
- name: Test module with single-end data
run: |
cd software/cutadapt/test/
nextflow run . --single_end