Sameesh Kher
05/20/2025, 5:01 PMtest.config 👇
process {
resourceLimits = [
cpus: 4,
memory: '15.GB',
time: '3.h'
]
}James Fellows Yates
05/20/2025, 5:57 PMPhil Ewels
05/20/2025, 7:29 PMPhil Ewels
05/20/2025, 7:29 PMPhil Ewels
05/20/2025, 7:30 PMPhil Ewels
05/20/2025, 7:30 PMPhil Ewels
05/20/2025, 7:31 PMWorkflow run time
35 days / workflow run
If a workflow run reaches this limit, the workflow run is cancelled. This period includes execution duration, and time spent on waiting and approval.
James Fellows Yates
05/20/2025, 7:51 PMJames Fellows Yates
05/20/2025, 7:52 PMPhil Ewels
05/20/2025, 7:52 PMSorry I meant a time limit we have to care aboutI've managed to hit it in the past 😆
Phil Ewels
05/20/2025, 7:53 PMPhil Ewels
05/20/2025, 7:53 PMJames Fellows Yates
05/20/2025, 7:54 PMSameesh Kher
05/20/2025, 7:54 PMPhil Ewels
05/20/2025, 7:55 PMPhil Ewels
05/20/2025, 7:55 PMPhil Ewels
05/20/2025, 7:55 PMSameesh Kher
05/20/2025, 7:57 PMSameesh Kher
05/20/2025, 7:58 PMPhil Ewels
05/20/2025, 7:59 PMPhil Ewels
05/20/2025, 7:59 PMPhil Ewels
05/20/2025, 7:59 PMSameesh Kher
05/20/2025, 8:01 PMSameesh Kher
05/20/2025, 8:02 PMSameesh Kher
05/20/2025, 8:02 PMSimon Pearce
05/20/2025, 10:08 PMSameesh Kher
05/21/2025, 1:22 PMSameesh Kher
05/21/2025, 5:13 PM-stub . For this I changed the ci.yml file to 👇
Now, when pushing the changes to the dev branch, I have git errors
name: nf-core CI
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
on:
push:
branches:
- dev
pull_request:
release:
types: [published]
workflow_dispatch:
env:
NXF_ANSI_LOG: false
NXF_SINGULARITY_CACHEDIR: ${{ github.workspace }}/.singularity
NXF_SINGULARITY_LIBRARYDIR: ${{ github.workspace }}/.singularity
concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
cancel-in-progress: true
jobs:
test:
name: "Run pipeline with test data (${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }})"
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/spatialxe') }}"
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "24.04.2"
- "latest-everything"
profile:
- "conda"
- "docker"
- "singularity"
test_name:
- "test"
isMaster:
- ${{ github.base_ref == 'master' }}
# Exclude conda and singularity on dev
exclude:
- isMaster: false
profile: "conda"
- isMaster: false
profile: "singularity"
steps:
- name: Check out pipeline code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 0
- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"
- name: Set up Apptainer
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main
- name: Set up Singularity
if: matrix.profile == 'singularity'
run: |
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR
- name: Set up Miniconda
if: matrix.profile == 'conda'
uses: conda-incubator/setup-miniconda@a4260408e20b96e80095f42ff7f1a15b27dd94ca # v3
with:
miniconda-version: "latest"
auto-update-conda: true
conda-solver: libmamba
channels: conda-forge,bioconda
- name: Set up Conda
if: matrix.profile == 'conda'
run: |
echo $(realpath $CONDA)/condabin >> $GITHUB_PATH
echo $(realpath python) >> $GITHUB_PATH
- name: Clean up Disk space
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
- name: "Run pipeline image mode with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results --mode image -stub
- name: "Run pipeline coordinate mode with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results --mode coordinate -stubSameesh Kher
05/21/2025, 5:14 PMSameesh Kher
05/21/2025, 5:15 PMci.yml file 👇
- name: "Run pipeline image mode with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results --mode image -stub
- name: "Run pipeline coordinate mode with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results --mode coordinate -stubSameesh Kher
05/22/2025, 12:32 PMSameesh Kher
05/22/2025, 1:23 PMci.yml file issue 👆??Phil Ewels
05/22/2025, 2:02 PM