mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-21 10:48:18 +00:00
ci: Skip subworkflows
This commit is contained in:
parent
45985ff6f0
commit
b3a672c8fa
2 changed files with 3 additions and 1 deletions
2
.github/workflows/nf-core-linting.yml
vendored
2
.github/workflows/nf-core-linting.yml
vendored
|
@ -71,7 +71,7 @@ jobs:
|
|||
|
||||
- name: Lint ${{ matrix.tags }}
|
||||
run: nf-core modules lint ${{ matrix.tags }}
|
||||
# HACK
|
||||
# HACK Skip subworkflows
|
||||
if: startsWith( matrix.tags, 'subworkflow' ) != true
|
||||
|
||||
- uses: actions/cache@v2
|
||||
|
|
2
.github/workflows/pytest-workflow.yml
vendored
2
.github/workflows/pytest-workflow.yml
vendored
|
@ -92,6 +92,8 @@ jobs:
|
|||
|
||||
# Test the module
|
||||
- name: Run pytest-workflow
|
||||
# HACK Skip subworkflows
|
||||
if: startsWith( matrix.tags, 'subworkflow' ) != true
|
||||
# only use one thread for pytest-workflow to avoid race condition on conda cache.
|
||||
run: NF_CORE_MODULES_TEST=1 TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --kwdof
|
||||
|
||||
|
|
Loading…
Reference in a new issue