ci: Upload logs on failures

This commit is contained in:
Edmund Miller 2021-01-22 11:16:19 -06:00
parent daa25b9329
commit a1f4d53d3e
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D
19 changed files with 193 additions and 22 deletions

View file

@ -40,3 +40,12 @@ jobs:
# Test the module
- run: pytest --tag bowtie_align --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag bowtie_index --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag bwa_index --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag bwa_index --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag fastqc --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag gffread --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag multiqc --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag picard_collectmultiplemetrics --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag picard_markduplicates --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag picard_mergesamfiles --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag preseq_lcextrap --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag samtools_flagstat --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag samtools_idxstats --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag samtools_index --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag samtools_sort --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag samtools_stats --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag stringtie --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -38,3 +38,12 @@ jobs:
# Test the module
- run: pytest --tag trimgalore --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err

View file

@ -37,3 +37,12 @@ jobs:
# Test the module
- run: pytest --tag ucsc_bedgraphtobigwig --symlink --wt 2
- name: Upload logs on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v2
with:
name: logs
path: |
/tmp/pytest_workflow_*/*/log.out
/tmp/pytest_workflow_*/*/log.err