Skip to content

Update default Nextflow version to 26.04 #248

Update default Nextflow version to 26.04

Update default Nextflow version to 26.04 #248

Workflow file for this run

name: nf-slack CI
on:
push:
branches:
- "*"
tags-ignore:
- "*"
pull_request:
branches:
- "*"
workflow_dispatch:
jobs:
test:
name: Run unit tests
if: "!contains(github.event.head_commit.message, '[ci skip]')"
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
java_version: [17, 21]
nextflow_version: ["25.10", "26.04"]
steps:
- name: Environment
run: env | sort
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
fetch-depth: 1
submodules: true
- name: Setup Java ${{ matrix.java_version }}
uses: actions/setup-java@c1e323688fd81a25caa38c78aa6df2d33d3e20d9 # v4
with:
java-version: ${{matrix.java_version}}
architecture: x64
distribution: "temurin"
- name: Setup Nextflow ${{ matrix.nextflow_version }}
uses: nf-core/setup-nextflow@6c2e22b4d901f0c42ca66c5069f8026df026d165 # v2
with:
version: "${{ matrix.nextflow_version }}"
- name: Setup Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.x"
- name: Install pre-commit
run: pip install pre-commit
- name: Run pre-commit hooks
run: pre-commit run --all-files --show-diff-on-failure
- name: Run unit tests
run: make test
env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
- name: Install plugin
run: make install
outputs:
test-status: ${{ job.status }}