mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 02:58:17 +00:00
ci: Seperate out out copying nextflow to bin
This commit is contained in:
parent
9f6641f80f
commit
bf165afd16
2 changed files with 11 additions and 8 deletions
10
.github/workflows/nf-core-linting.yml
vendored
10
.github/workflows/nf-core-linting.yml
vendored
|
@ -56,16 +56,18 @@ jobs:
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
id: cache-nextflow
|
id: cache-nextflow
|
||||||
with:
|
with:
|
||||||
path: /usr/local/bin/nextflow
|
path: nextflow
|
||||||
key: ${{ runner.os }}-nextflow
|
key: ${{ runner.os }}-nextflow
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Install Nextflow
|
||||||
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
if: steps.cache-nextflow.outputs.cache-hit != 'true'
|
||||||
env:
|
env:
|
||||||
|
NXF_VER: ${{ matrix.nxf_version }}
|
||||||
CAPSULE_LOG: none
|
CAPSULE_LOG: none
|
||||||
run: |
|
run: wget -qO- get.nextflow.io | bash
|
||||||
wget -qO- get.nextflow.io | bash
|
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Copy nextflow to bin
|
||||||
|
run: sudo cp nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Lint ${{ matrix.tags }}
|
- name: Lint ${{ matrix.tags }}
|
||||||
run: nf-core modules lint . -t ${{ matrix.tags }}
|
run: nf-core modules lint . -t ${{ matrix.tags }}
|
||||||
|
|
9
.github/workflows/pytest-workflow.yml
vendored
9
.github/workflows/pytest-workflow.yml
vendored
|
@ -51,7 +51,7 @@ jobs:
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
id: cache-nextflow
|
id: cache-nextflow
|
||||||
with:
|
with:
|
||||||
path: /usr/local/bin/nextflow
|
path: nextflow
|
||||||
key: ${{ runner.os }}-nextflow
|
key: ${{ runner.os }}-nextflow
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Install Nextflow
|
||||||
|
@ -59,9 +59,10 @@ jobs:
|
||||||
env:
|
env:
|
||||||
NXF_VER: ${{ matrix.nxf_version }}
|
NXF_VER: ${{ matrix.nxf_version }}
|
||||||
CAPSULE_LOG: none
|
CAPSULE_LOG: none
|
||||||
run: |
|
run: wget -qO- get.nextflow.io | bash
|
||||||
wget -qO- get.nextflow.io | bash
|
|
||||||
sudo mv nextflow /usr/local/bin/
|
- name: Copy nextflow to bin
|
||||||
|
run: sudo cp nextflow /usr/local/bin/
|
||||||
|
|
||||||
- name: Set up Singularity
|
- name: Set up Singularity
|
||||||
if: matrix.profile == 'singularity'
|
if: matrix.profile == 'singularity'
|
||||||
|
|
Loading…
Reference in a new issue