test: Add testing CI and mention paper #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: nf-test CI | |
# This workflow runs the nf-test test suite | |
on: | |
pull_request: | |
release: | |
types: [published] | |
env: | |
NXF_ANSI_LOG: false | |
jobs: | |
test: | |
name: Run ${{ matrix.profile }} pipeline test | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
NXF_VER: | |
- "latest-stable" | |
profile: ["docker"] # TODO , "singularity", "conda"] | |
steps: | |
- name: Check out pipeline code | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: /usr/local/bin/nextflow | |
key: ${{ runner.os }} | |
restore-keys: | | |
${{ runner.os }}-nextflow- | |
- name: Install Nextflow | |
uses: nf-core/setup-nextflow@v1 | |
with: | |
version: "${{ matrix.NXF_VER }}" | |
- name: Install nf-test | |
run: | | |
wget -qO- https://code.askimed.com/install/nf-test | bash | |
sudo mv nf-test /usr/local/bin/ | |
- name: Run nf-test | |
run: nf-test test --profile=${{ matrix.profile }} tests/**/**/*nf.test |