mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 19:18:17 +00:00
ci(#119): Upload logs on failure
This commit is contained in:
parent
13539e1c1a
commit
b008afe2e6
1 changed files with 10 additions and 0 deletions
10
.github/workflows/pytest-workflow.yml
vendored
10
.github/workflows/pytest-workflow.yml
vendored
|
@ -36,3 +36,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
pytest_tags: ${{ matrix.tags }}
|
pytest_tags: ${{ matrix.tags }}
|
||||||
nxf_version: ${{ matrix.nxf_version }}
|
nxf_version: ${{ matrix.nxf_version }}
|
||||||
|
|
||||||
|
- name: Upload logs on failure
|
||||||
|
if: ${{ failure() }}
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: logs
|
||||||
|
path: |
|
||||||
|
/tmp/pytest_workflow_*/*/.nextflow.log
|
||||||
|
/tmp/pytest_workflow_*/*/log.out
|
||||||
|
/tmp/pytest_workflow_*/*/log.err
|
||||||
|
|
Loading…
Reference in a new issue