Skip to content

Merge branch 'main' into updated_documentation #866

Merge branch 'main' into updated_documentation

Merge branch 'main' into updated_documentation #866

Workflow file for this run

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.2/nf-test-0.8.2.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