Skip to content

Update github-action to use latest nf-test and Nextflow versions #875

Update github-action to use latest nf-test and Nextflow versions

Update github-action to use latest nf-test and Nextflow versions #875

Workflow file for this run

name: CI Tests
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Nextflow ${{ matrix.nextflow }}
uses: nf-core/setup-nextflow@v1
with:
version: "latest-edge"
- name: Install nf-test
run: |
wget -qO- https://code.askimed.com/install/nf-test | bash
sudo mv nf-test /usr/local/bin/
- name: Build Docker
run: docker build -t genepi/mtdna-server-2 .
- name: Run Tests
run: nf-test test