Skip to content

Commit

Permalink
Add --shard option
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor authored May 23, 2024
1 parent 1b03232 commit 443b47e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ on: [push, pull_request]

jobs:

build:
test:

runs-on: ubuntu-latest
strategy:
matrix:
shard: [1, 2, 3, 4, 5]

steps:
- name: Checkout
Expand All @@ -31,8 +34,8 @@ jobs:
- name: Build Docker
run: docker build -t genepi/nf-gwas .

- name: Run Tests
run: nf-test test
- 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

0 comments on commit 443b47e

Please sign in to comment.