Skip to content

Commit

Permalink
test: Bump versions and use versions yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 16, 2024
1 parent e5c5ffa commit ac55f03
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 14 deletions.
8 changes: 4 additions & 4 deletions modules/nf-core/quartonotebook/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out.versions,
process.out.artifacts,
process.out.params_yaml,
path(process.out.versions.get(0)).yaml,
).match() },
{ assert path(process.out.html[0][1]).readLines().any { it.contains('Hello world') } }
{ assert path(process.out.html[0][1]).readLines().any { it.contains('Hello world') } },
)
}

Expand Down Expand Up @@ -116,11 +116,11 @@ nextflow_process {
assertAll(
{ assert process.success },
{ assert snapshot(
process.out.versions,
process.out.artifacts,
process.out.params_yaml,
path(process.out.versions.get(0)).yaml,
).match() },
{ assert path(process.out.html[0][1]).readLines().any { it.contains('Hello world') } }
{ assert path(process.out.html[0][1]).readLines().any { it.contains('Hello world') } },
)
}

Expand Down
26 changes: 16 additions & 10 deletions modules/nf-core/quartonotebook/tests/main.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@
},
"test notebook - parametrized - [qmd:python]": {
"content": [
[
"versions.yml:md5,cb29d1dcc3f1531b5b219f5147739463"
],
[
[
{
Expand All @@ -153,13 +150,19 @@
},
"params.yml:md5,efd62bc975f429e8749ba787a93042dd"
]
]
],
{
"QUARTONOTEBOOK": {
"quarto": "1.5.57",
"papermill": "2.4.0"
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.0"
},
"timestamp": "2024-11-16T13:53:18.508588"
"timestamp": "2024-11-16T14:11:57.879957"
},
"test notebook - parametrized - [rmd]": {
"content": [
Expand Down Expand Up @@ -327,21 +330,24 @@
},
"test notebook - [qmd:python]": {
"content": [
[
"versions.yml:md5,cb29d1dcc3f1531b5b219f5147739463"
],
[

],
[

]
],
{
"QUARTONOTEBOOK": {
"quarto": "1.5.57",
"papermill": "2.4.0"
}
}
],
"meta": {
"nf-test": "0.9.2",
"nextflow": "24.10.0"
},
"timestamp": "2024-11-16T13:52:54.486372"
"timestamp": "2024-11-16T14:11:31.953539"
},
"test notebook - parametrized - [qmd:r]": {
"content": [
Expand Down

0 comments on commit ac55f03

Please sign in to comment.