Switch to Nextflow.error method #870
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: CI Tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
- name: Install nextflow | |
run: sudo bash; mkdir /opt/nextflow; cd /opt/nextflow; wget https://github.com/nextflow-io/nextflow/releases/download/v23.04.4/nextflow; chmod +x nextflow; | |
- name: Add nextflow to path | |
run: echo "/opt/nextflow" >> $GITHUB_PATH; | |
- name: Install nf-test | |
run: sudo bash; mkdir /opt/nf-test; cd /opt/nf-test; wget https://github.com/askimed/nf-test/releases/download/v0.8.4/nf-test-0.8.4.tar.gz; tar xvfz nf-test-*.tar.gz; chmod +x nf-test; | |
- name: Add nf-test to pathdocker build -t genepi/nf-gwas . | |
run: echo "/opt/nf-test" >> $GITHUB_PATH; | |
- name: Run nf-test tests with development profile | |
run: docker build -t genepi/nf-gwas .; nf-test test | |
- name: Run static tests with development profile | |
run: ./run-tests.sh |