ci: Skip subworkflows

This commit is contained in:
Edmund Miller 2021-11-24 11:48:33 -06:00
parent 45985ff6f0
commit b3a672c8fa
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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