Skip to content

Commit d66e8eb

Browse files
committed
add ci profile to prevent server raise inside action
1 parent 7c9ecd8 commit d66e8eb

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/ci-tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI Tests
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
77

88
concurrency:
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v4
19-
19+
2020
- name: Start Kraken Server
2121
run: |
2222
docker run -d --name kraken-server --network host \
@@ -38,7 +38,7 @@ jobs:
3838
sudo mv nf-test /usr/local/bin/
3939
4040
- name: Run Tests
41-
run: nf-test test --ci --profile docker,local --tag ci
41+
run: nf-test test --ci --profile docker,local,ci --tag ci
4242

4343
- name: upload logs
4444
if: always()
@@ -48,4 +48,4 @@ jobs:
4848
include-hidden-files: true
4949
path: ./.nf-test/*
5050
retention-days: 1
51-
if-no-files-found: ignore
51+
if-no-files-found: ignore

nextflow.config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,9 @@ profiles {
127127
local {
128128
includeConfig 'conf/local.config'
129129
}
130+
ci {
131+
raise_server = false
132+
}
130133
}
131134

132135

tests/e2e/main.nf.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ nextflow_pipeline {
1111
params {
1212
fastq = "${projectDir}/tests/test-data/barcode01/barcode01.fq.gz"
1313
outdir = "$outputDir/single_long_read"
14-
raise_server = false
1514
kraken_database = [
1615
"default": [
1716
"name": "testdb-kraken2",

0 commit comments

Comments
 (0)