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

[WIP] add pipeline-level nf-test #168

Draft
wants to merge 16 commits into
base: dev
Choose a base branch
from
Draft

[WIP] add pipeline-level nf-test #168

wants to merge 16 commits into from

Conversation

pinin4fjords
Copy link
Member

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- [ ] If necessary, also make a PR on the nf-core/differentialabundance branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile 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).

@pinin4fjords pinin4fjords linked an issue Oct 13, 2023 that may be closed by this pull request
@pinin4fjords pinin4fjords changed the base branch from master to dev October 13, 2023 08:35
@pinin4fjords pinin4fjords self-assigned this Oct 13, 2023
@github-actions
Copy link

This PR is against the master branch ❌

  • Do not close this PR
  • Click Edit and change the base to dev
  • This CI test will remain failed until you push a new commit

Hi @pinin4fjords,

It looks like this pull-request is has been made against the nf-core/differentialabundance master branch.
The master branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to master are only allowed if they come from the nf-core/differentialabundance dev branch.

You do not need to close this PR, you can change the target branch to dev by clicking the "Edit" button at the top of this page.
Note that even after this, the test will continue to show as failing until you push a new commit.

Thanks again for your contribution!

@pinin4fjords pinin4fjords marked this pull request as draft October 13, 2023 08:36
@github-actions
Copy link

github-actions bot commented Oct 13, 2023

nf-core lint overall result: Failed ❌

Posted for pipeline commit a963039

+| ✅ 159 tests passed       |+
-| ❌   1 tests failed       |-

❌ Test failures:

  • actions_ci - '.github/workflows/ci.yml' does not check minimum NF version

✅ Tests passed:

Run details

  • nf-core/tools version 2.10
  • Run at 2023-10-30 17:23:06

@pinin4fjords
Copy link
Member Author

@nf-core-bot fix linting

@pinin4fjords pinin4fjords changed the title [WIP] add nf-test [WIP] add pipeline-level nf-test Oct 30, 2023
Copy link

@edmundmiller edmundmiller left a comment

Choose a reason for hiding this comment

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

Once this merges I'll make a PR with nf-core/methylseq#350

# For example: adding multiple test runs with different parameters
# Remember that you can parallelise this by using strategy.matrix
- name: Cache nf-test installation
id: cache-software

Choose a reason for hiding this comment

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

I think this needs a hash or something.


then {
assertAll(
{ assert workflow.success }

Choose a reason for hiding this comment

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

This is bare minimum. Added a snapshot with some of the results would be a great follow up!

Copy link
Member

Choose a reason for hiding this comment

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

It is indeed the bare minimum, but I'm happy with that already to be honest

Choose a reason for hiding this comment

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

You can remove this file I think 🤔

Comment on lines +64 to +68
- test
- test_nogtf
- test_affy
- test_soft
- test_maxquant
Copy link
Member

Choose a reason for hiding this comment

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

oh I see what you're doing there.
I'd rather have that done with different tests and snapshots, similarly to how we do with the multiple workflow tests in fetchngs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement nf-test
4 participants