Skip to content

Commit

Permalink
Add ci workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nictru committed Jan 28, 2024
1 parent 53da830 commit 183a76f
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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:
- master
pull_request:

jobs:
test:
name: Run pipeline with test data
runs-on: ubuntu-latest
strategy:
matrix:
NXF_VER:
- "23.04.0"
- "latest-everything"

steps:
- name: Check out pipeline code
uses: actions/checkout@v4

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

- name: Run pipeline with test data
run: cd example && ./run.sh
2 changes: 1 addition & 1 deletion example/run.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash

nextflow run .. -resume -profile apptainer
nextflow run .. -resume -profile docker

0 comments on commit 183a76f

Please sign in to comment.