Rename .github/filters.yml -> tests/config/pytest_software.yml (#271)

* Rename pytest filters.yml

* Change filters.yml name

* Update resoures for ivar trim
This commit is contained in:
Harshil Patel 2021-03-15 12:51:30 +00:00 committed by GitHub
parent d9396adbdf
commit 9b99b33401
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,7 @@ jobs:
- uses: dorny/paths-filter@v2 - uses: dorny/paths-filter@v2
id: filter id: filter
with: with:
filters: '.github/filters.yml' filters: 'tests/config/pytest_software.yml'
test: test:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
@ -80,7 +80,7 @@ jobs:
# Test the module # Test the module
- name: Run pytest-workflow - name: Run pytest-workflow
# only use one thread for pytest-workflow to avoid race condition on conda cache. # only use one thread for pytest-workflow to avoid race condition on conda cache.
run: TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --kwdof run: TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --kwdof
- name: Upload logs on failure - name: Upload logs on failure

View file

@ -6,7 +6,7 @@ options = initOptions(params.options)
process IVAR_TRIM { process IVAR_TRIM {
tag "$meta.id" tag "$meta.id"
label 'process_low' label 'process_medium'
publishDir "${params.outdir}", publishDir "${params.outdir}",
mode: params.publish_dir_mode, mode: params.publish_dir_mode,
saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) } saveAs: { filename -> saveFiles(filename:filename, options:params.options, publish_dir:getSoftwareName(task.process), publish_id:meta.id) }