Skip to content

Commit

Permalink
just NXF_ANSI
Browse files Browse the repository at this point in the history
  • Loading branch information
maxulysse committed Oct 10, 2024
1 parent 27e8a7c commit f9d6955
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ on:

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 }} | ${{ matrix.profile }})"
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/bamtofastq') }}"
runs-on: ubuntu-latest
Expand All @@ -33,7 +31,7 @@ jobs:
- "conda"
- "docker"
- "singularity"
test:
test_name:
- "test"
- "test_cram"
- "test_chr"
Expand All @@ -54,12 +52,12 @@ jobs:
- name: Check out pipeline code
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: "Install Nextflow ${{ matrix.NXF_VER }}"
- name: Set up Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

- name: Setup apptainer
- name: Set up apptainer
if: matrix.profile == 'singularity'
uses: eWaterCycle/setup-apptainer@main

Expand All @@ -77,7 +75,7 @@ jobs:
auto-update-conda: true
channels: conda-forge,bioconda

- name: Conda setup
- name: Set up Conda
if: matrix.profile == 'conda'
run: |
conda clean -a
Expand All @@ -91,4 +89,4 @@ jobs:

- name: " Run pipeline with test data"
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test }},${{ matrix.profile }} --outdir ./results
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results

0 comments on commit f9d6955

Please sign in to comment.