Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/harmon_fix_gh_actions_test' into…
Browse files Browse the repository at this point in the history
… single-read-profile
  • Loading branch information
simonleandergrimm committed Dec 4, 2024
2 parents 2159431 + 8ae0a93 commit 764cf9c
Showing 1 changed file with 50 additions and 11 deletions.
61 changes: 50 additions & 11 deletions .github/workflows/end-to-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ name: End-to-end MGS workflow test
on: [pull_request]

jobs:
test:
test-index:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Checkout
Expand All @@ -28,22 +29,60 @@ jobs:
- name: Run index workflow
run: nf-test test --tag index --verbose
test-run:
runs-on: ubuntu-latest
timeout-minutes: 10

- name: Clean docker for more space
run: |
docker kill $(docker ps -q) 2>/dev/null || true
docker rm $(docker ps -a -q) 2>/dev/null || true
docker rmi $(docker images -q) -f 2>/dev/null || true
docker system prune -af --volumes
steps:
- name: Checkout
uses: actions/checkout@v4

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

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

- name: Clean up nf-test dir
run: sudo rm -rf .nf-test
- name: Install nf-test
run: |
wget -qO- https://get.nf-test.com | bash
sudo mv nf-test /usr/local/bin/
- name: Run run workflow
run: nf-test test --tag run --verbose

- name: Run run_dev_se workflow
run: nf-test test --tag run_dev_se --verbose

test-validation:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout
uses: actions/checkout@v4

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

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

- name: Install nf-test
run: |
wget -qO- https://get.nf-test.com | bash
sudo mv nf-test /usr/local/bin/
- name: Run run_validation workflow
run: nf-test test --tag validation --verbose

- name: Run run_dev_se workflow
run: nf-test test --tag run_dev_se --verbose

0 comments on commit 764cf9c

Please sign in to comment.