Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up pipeline tests #438

Merged
merged 8 commits into from
Oct 25, 2024

Conversation

fellen31
Copy link
Collaborator

@fellen31 fellen31 commented Oct 24, 2024

Closes #375

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@fellen31 fellen31 force-pushed the update-pipeline-tests branch 8 times, most recently from c9189df to 10eb3ba Compare October 24, 2024 13:34
@fellen31 fellen31 marked this pull request as ready for review October 24, 2024 14:00
@fellen31 fellen31 requested a review from a team as a code owner October 24, 2024 14:00
@fellen31 fellen31 force-pushed the update-pipeline-tests branch 4 times, most recently from 1e0ec67 to 0acfc2a Compare October 25, 2024 08:08
Copy link
Collaborator

@Schmytzi Schmytzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You told me there's something missing so I'm holding out on giving an explicit response

nf-test.config Outdated
// location of an optional nextflow.config file specific for executing tests
configFile "conf/test.config"
// run all test with defined profile(s) from the main nextflow.config
profile "test,docker"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why you specify test,docker as the default profile here but only test in the tests themselves. I think, they should either be consistent or you set the profile only here. (Also, I don't know which one takes precedence)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I'll remove the profile part from the tests, and updated this to only profile "test".

}
}

then {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
then {
then {

Messed up indentation. I think it's like that in the other tests, too.

Copy link
Collaborator

@Schmytzi Schmytzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@fellen31 fellen31 merged commit e76e6c2 into genomic-medicine-sweden:dev Oct 25, 2024
18 checks passed
@fellen31 fellen31 deleted the update-pipeline-tests branch October 25, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Clean up pipeline tests
2 participants