Upgrade Singularity and change TMPDIR for pytest output

This commit is contained in:
drpatelh 2021-02-04 01:18:33 +00:00 committed by Edmund Miller
parent 9b454416d2
commit 0c88ff7458
No known key found for this signature in database
GPG key ID: BD387FF7BC10AA9D

View file

@ -25,7 +25,7 @@ jobs:
matrix: matrix:
nxf_version: ['20.11.0-edge'] nxf_version: ['20.11.0-edge']
tags: ['${{ fromJson(needs.changes.outputs.modules) }}'] tags: ['${{ fromJson(needs.changes.outputs.modules) }}']
profile: ['docker'] ## 'conda', 'singularity' profile: ['docker', 'singularity'] ## 'conda'
env: env:
NXF_ANSI_LOG: false NXF_ANSI_LOG: false
steps: steps:
@ -65,7 +65,7 @@ jobs:
if: matrix.profile == 'singularity' if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-singularity@v5 uses: eWaterCycle/setup-singularity@v5
with: with:
singularity-version: 3.5.3 singularity-version: 3.7.1
- name: Setup miniconda - name: Setup miniconda
if: matrix.profile == 'conda' if: matrix.profile == 'conda'
@ -80,7 +80,7 @@ jobs:
# Test the module # Test the module
- name: Run pytest-workflow - name: Run pytest-workflow
run: PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --wt 2 --kwdof run: TMPDIR=~ PROFILE=${{ matrix.profile }} pytest --tag ${{ matrix.tags }} --symlink --wt 2 --kwdof
- name: Upload logs on failure - name: Upload logs on failure
if: failure() if: failure()