-
Notifications
You must be signed in to change notification settings - Fork 10
52 lines (46 loc) · 1.47 KB
/
CI-gsa.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# This is a basic workflow to help you get started with Actions
name: gsalign
# Controls when the action will run.
on:
push:
branches:
- 'main'
- 'dev'
- 'dev/'
- '*CI'
- 'v*'
pull_request:
workflow_dispatch:
release:
types: [published]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
test:
name: Run workflow tests
# Only run on push if this is the nf-core dev branch (merged PRs)
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
NXF_ANSI_LOG: false
strategy:
matrix:
# Nextflow versions: check pipeline minimum and current latest
nxf_ver: ["24.04.4"]
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
- name: Install Nextflow
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Install mamba
run: |
wget -nv -O Mambaforge.sh https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
bash Mambaforge.sh -b -p ./mambaforge
./mambaforge/bin/mamba init
source ./mambaforge/etc/profile.d/conda.sh
- name: Run pipeline with test data and GSAlign
run: |
source ./mambaforge/etc/profile.d/conda.sh
nextflow run ${GITHUB_WORKSPACE} --aligner gsalign --mamba -profile test,conda