mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2025-01-03 04:52:09 -05:00
ci: Fix pip skip
This commit is contained in:
parent
ec3a2172a6
commit
f8f9155b45
2 changed files with 7 additions and 6 deletions
7
.github/workflows/nf-core-linting.yml
vendored
7
.github/workflows/nf-core-linting.yml
vendored
|
@ -39,17 +39,18 @@ jobs:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
|
id: cache-pip
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pip-
|
|
||||||
|
|
||||||
- name: Install pip
|
- name: Install pip
|
||||||
|
if: steps.cache-pip.outputs.cache-hit != 'true'
|
||||||
run: python -m pip install --upgrade pip
|
run: python -m pip install --upgrade pip
|
||||||
|
|
||||||
# FIXME: Remove this when nf-core modules lint stabilizes and install stable release
|
# FIXME: Remove this when nf-core modules lint stabilizes and install stable release
|
||||||
- name: Install nf-core tools development version
|
- name: Install nf-core tools development version
|
||||||
|
if: steps.cache-pip.outputs.cache-hit != 'true'
|
||||||
run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
|
run: python -m pip install --upgrade --force-reinstall git+https://github.com/nf-core/tools.git@dev
|
||||||
|
|
||||||
- name: Install Nextflow
|
- name: Install Nextflow
|
||||||
|
|
6
.github/workflows/pytest-workflow.yml
vendored
6
.github/workflows/pytest-workflow.yml
vendored
|
@ -39,13 +39,13 @@ jobs:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
|
id: cache-pip
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-pip
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-pip-
|
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
|
if: steps.cache-pip.outputs.cache-hit != 'true'
|
||||||
run: python -m pip install --upgrade pip pytest-workflow
|
run: python -m pip install --upgrade pip pytest-workflow
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
|
|
Loading…
Reference in a new issue