Skip to content

Add --shard option #890

Add --shard option

Add --shard option #890

Workflow file for this run

name: CI Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
shard: [1, 2, 3, 4, 5]
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 -s 0.9.0-rc1
sudo mv nf-test /usr/local/bin/
- name: Build Docker
run: docker build -t genepi/nf-gwas .
- name: Run Tests (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
run: nf-test test --shard ${{ matrix.shard }}/${{ strategy.job-total }}
- name: Run static tests with development profile
run: ./run-tests.sh