Skip to content

try to correct the env variable for shell #71

try to correct the env variable for shell

try to correct the env variable for shell #71

Workflow file for this run

name: NF Tests
on: [push, pull_request]
env:
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
NFTEST_VER: "0.9.5"
jobs:
nf-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK 11
uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'adopt'
- name: Setup Nextflow latest
uses: nf-core/setup-nextflow@v2
with:
version: "latest-stable"
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFTEST_VER }}
- name: Setup apptainer
uses: eWaterCycle/setup-apptainer@main
- name: Set up Singularity
run: |
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Run Tests
run: nf-test test --ci #this is used to prevent updating the snapshot