Skip to content

Commit

Permalink
also run hybrid tests on dev PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
fmalmeida committed Feb 13, 2024
1 parent d1c5ed2 commit a76a57d
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 60 deletions.
54 changes: 27 additions & 27 deletions .github/workflows/test_pr_hybrid_docker.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
name: Testing hybrid / docker from PR
on:
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened ]
branches: [master, dev]
types: [opened, synchronize, reopened]

jobs:
run_nextflow:
name: Run pipeline for the upcoming PR
runs-on: ubuntu-latest

steps:

- name: Check out pipeline code
uses: actions/checkout@v2

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Clean environment
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET

- name: Run tests for hybrid
run: |
nextflow run main.nf -profile docker,test,hybrid
rm -r work .nextflow*
- name: View results
run: |
sudo apt-get install -y tree
tree hybrid_test
- name: Check out pipeline code
uses: actions/checkout@v2

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Clean environment
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Run tests for hybrid
run: |
nextflow run main.nf -profile docker,test,hybrid
rm -r work .nextflow*
- name: View results
run: |
sudo apt-get install -y tree
tree hybrid_test
66 changes: 33 additions & 33 deletions .github/workflows/test_pr_hybrid_singularity.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
name: Testing hybrid / singularity from PR
on:
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened ]
branches: [master, dev]
types: [opened, synchronize, reopened]

jobs:
run_nextflow:
name: Run pipeline for the upcoming PR
runs-on: ubuntu-latest

steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- name: Install Singularity
uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.8.3
- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Clean environment
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Run tests for hybrid
run: |
nextflow run main.nf -profile singularity,test,hybrid
rm -r work .nextflow*
- name: View results
run: |
sudo apt-get install -y tree
tree hybrid_test

- name: Check out pipeline code
uses: actions/checkout@v2

- name: Install Singularity
uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.8.3

- name: Install Nextflow
env:
CAPSULE_LOG: none
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Clean environment
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Run tests for hybrid
run: |
nextflow run main.nf -profile singularity,test,hybrid
rm -r work .nextflow*
- name: View results
run: |
sudo apt-get install -y tree
tree hybrid_test

0 comments on commit a76a57d

Please sign in to comment.