+
Skip to content

Update nf-test.yml #3673

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

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open

Update nf-test.yml #3673

wants to merge 2 commits into from

Conversation

maxulysse
Copy link
Member

Wondering if we need to disable actions when modifying only md/svg/pdf since nf-test is run in ci mode

PR checklist

  • This comment contains a description of changes (with reason)
  • CHANGELOG.md is updated
  • If you've fixed a bug or added code that should be tested, add tests!
  • Documentation in docs is updated

removing conditions
@maxulysse maxulysse changed the base branch from main to dev July 9, 2025 15:09
@nf-core nf-core deleted a comment from github-actions bot Jul 9, 2025
@mashehu
Copy link
Contributor

mashehu commented Jul 9, 2025

I don't understand why CI mode would help us in this situations?

Copy link
Member

@mirpedrol mirpedrol left a comment

Choose a reason for hiding this comment

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

I also don't see why we should run nf-test if we are only modifying documentation (md, png, etc.) If modifying one of these files affects the output of the pipeline, I would consider it a particularity of one single pipeline and would change it only for that pipeline.

- "**/*.md"
- "**/*.png"
- "**/*.svg{% raw %}"
pull_request:{% raw %}"
Copy link
Member

Choose a reason for hiding this comment

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

This {% raw %} should be moved, I think it's going to cause problems if we keep it here. Can go to line 10.

@maxulysse
Copy link
Member Author

I don't understand why CI mode would help us in this situations?

CI mode should detect that these files do not impact the pipeline, and hence not run tests

@mashehu
Copy link
Contributor

mashehu commented Jul 10, 2025

But it is better to not run the CI at all than spinning up machines to then do nothing

@maxulysse
Copy link
Member Author

But it is better to not run the CI at all than spinning up machines to then do nothing

Totally agreeing with you, but isn't the expected confirm-pass making issues in such a case?

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.

3 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载