Skip to content

Commit

Permalink
Update nf-test version
Browse files Browse the repository at this point in the history
  • Loading branch information
lukfor authored Jun 15, 2024
1 parent 1677b34 commit b1a31c8
Showing 1 changed file with 27 additions and 18 deletions.
45 changes: 27 additions & 18 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,32 @@ jobs:
build:

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


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/v21.04.3/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.0-rc1/nf-test-0.8.0-rc1.tar.gz; tar xvfz nf-test-*.tar.gz; chmod +x nf-test;
- name: Add nf-test to path
run: echo "/opt/nf-test" >> $GITHUB_PATH;
- name: Build Docker
run: docker build -t genepi/imputation-docker .
- name: Run Tests
run: nf-test test
- uses: actions/checkout@v2

- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'

- name: Setup Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "latest-edge"

- name: Install nf-test
run: |
wget -qO- get.nf-test.com | bash -s 0.9.0-rc2
sudo mv nf-test /usr/local/bin/
- name: Build Docker
run: docker build -t genepi/imputation-docker .

- name: Run Tests (Shard ${{ matrix.shard }}/${{ strategy.job-total }})
run: nf-test test --ci --shard ${{ matrix.shard }}/${{ strategy.job-total }}

0 comments on commit b1a31c8

Please sign in to comment.