Fix a bunch of stuff in GitHub Actions test workflows

This commit is contained in:
Phil Ewels 2020-07-16 17:11:34 +02:00
parent 2b6dc71338
commit aa24c8d175
8 changed files with 20 additions and 37 deletions

View file

@ -1,8 +1,9 @@
name: cutadapt name: cutadapt
on: on:
push: {} push:
paths: software/cutadapt/**
pull_request: pull_request:
paths: software/cutadapt/* paths: software/cutadapt/**
jobs: jobs:
run_ci_test: run_ci_test:
@ -12,13 +13,6 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install Nextflow - name: Install Nextflow
run: | run: |
wget -qO- get.nextflow.io | bash wget -qO- get.nextflow.io | bash

View file

@ -14,7 +14,7 @@ jobs:
steps: steps:
# Check out the repo # Check out the repo
- uses: actions/checkout@v1 - uses: actions/checkout@v2
# Find the tool wrappers that changed # Find the tool wrappers that changed
# Annoyingly, matrix can't take dynamic variables # Annoyingly, matrix can't take dynamic variables

View file

@ -12,9 +12,7 @@ jobs:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
# Check out the repository
- uses: actions/checkout@v1 - uses: actions/checkout@v1
submodules: true
- name: Install Nextflow - name: Install Nextflow
run: | run: |

View file

@ -36,7 +36,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v1 uses: actions/checkout@v2
- name: Install NodeJS - name: Install NodeJS
uses: actions/setup-node@v1 uses: actions/setup-node@v1

View file

@ -1,8 +1,9 @@
name: samtools index name: samtools index
on: on:
push: {} push:
paths: software/samtools/index/**
pull_request: pull_request:
paths: software/samtools/index* paths: software/samtools/index/**
jobs: jobs:
run_ci_test: run_ci_test:
@ -11,9 +12,7 @@ jobs:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
# Check out the repository - uses: actions/checkout@v2
- uses: actions/checkout@v1
submodules: true
- name: Install Nextflow - name: Install Nextflow
run: | run: |

View file

@ -1,8 +1,9 @@
name: samtools sort name: samtools sort
on: on:
push: {} push:
paths: software/samtools/sort**
pull_request: pull_request:
paths: software/samtools/sort* paths: software/samtools/sort**
jobs: jobs:
run_ci_test: run_ci_test:
@ -11,9 +12,7 @@ jobs:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
# Check out the repository - uses: actions/checkout@v2
- uses: actions/checkout@v1
submodules: true
- name: Install Nextflow - name: Install Nextflow
run: | run: |

View file

@ -1,8 +1,9 @@
name: tcoffee name: tcoffee
on: on:
push: {} push:
paths: software/tcoffee/**
pull_request: pull_request:
paths: software/tcoffee/* paths: software/tcoffee/**
jobs: jobs:
run_ci_test: run_ci_test:
@ -11,14 +12,7 @@ jobs:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
# Check out the repository
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Install Nextflow - name: Install Nextflow
run: | run: |

View file

@ -1,8 +1,9 @@
name: Trim Galore! name: Trim Galore!
on: on:
push: {} push:
paths: software/trim_galore/**
pull_request: pull_request:
paths: software/trim_galore/* paths: software/trim_galore/**
jobs: jobs:
run_ci_test: run_ci_test:
@ -11,9 +12,7 @@ jobs:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
# Check out the repository - uses: actions/checkout@v2
- uses: actions/checkout@v1
submodules: true
- name: Install Nextflow - name: Install Nextflow
run: | run: |