Skip to content

Commit 1d35e2a

Browse files
committed
use nft-utils 0.0.2 to get relative path in snapshots
1 parent 2b856b7 commit 1d35e2a

21 files changed

+8077
-8077
lines changed

nf-test.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ config {
1313
// load the necessary plugins
1414
plugins {
1515
16-
16+
1717
}
1818
}

tests/default.nf.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ nextflow_pipeline {
2323
workflow.trace.succeeded().size(),
2424
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2525
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
26-
// All stable path name
27-
stable_name*.name,
26+
// All stable path name, with a relative path
27+
getRelativePath(stable_name, outputDir),
2828
// All files with stable contents
2929
stable_path
3030
).match() }
@@ -54,8 +54,8 @@ nextflow_pipeline {
5454
workflow.trace.succeeded().size(),
5555
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
5656
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
57-
// All stable path name
58-
stable_name*.name,
57+
// All stable path name, with a relative path
58+
getRelativePath(stable_name, outputDir),
5959
// All files with stable contents
6060
stable_path
6161
).match() }

tests/default.nf.test.snap

Lines changed: 1089 additions & 1089 deletions
Large diffs are not rendered by default.

tests/featurecounts_group_type.nf.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ nextflow_pipeline {
2424
workflow.trace.succeeded().size(),
2525
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2626
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
27-
// All stable path name
28-
stable_name*.name,
27+
// All stable path name, with a relative path
28+
getRelativePath(stable_name, outputDir),
2929
// All files with stable contents
3030
stable_path
3131
).match() }
@@ -56,8 +56,8 @@ nextflow_pipeline {
5656
workflow.trace.succeeded().size(),
5757
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
5858
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
59-
// All stable path name
60-
stable_name*.name,
59+
// All stable path name, with a relative path
60+
getRelativePath(stable_name, outputDir),
6161
// All files with stable contents
6262
stable_path
6363
).match() }

tests/featurecounts_group_type.nf.test.snap

Lines changed: 1060 additions & 1060 deletions
Large diffs are not rendered by default.

tests/hisat2.nf.test

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ nextflow_pipeline {
2424
workflow.trace.succeeded().size(),
2525
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
2626
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
27-
// All stable path name
28-
stable_name*.name,
27+
// All stable path name, with a relative path
28+
getRelativePath(stable_name, outputDir),
2929
// All files with stable contents
3030
stable_path
3131
).match() }
@@ -56,8 +56,8 @@ nextflow_pipeline {
5656
workflow.trace.succeeded().size(),
5757
// pipeline versions.yml file for multiqc from which Nextflow version is removed because we tests pipelines on multiple Nextflow versions
5858
removeNextflowVersion("$outputDir/pipeline_info/nf_core_rnaseq_software_mqc_versions.yml"),
59-
// All stable path name
60-
stable_name*.name,
59+
// All stable path name, with a relative path
60+
getRelativePath(stable_name, outputDir),
6161
// All files with stable contents
6262
stable_path
6363
).match() }

0 commit comments

Comments
 (0)