Skip to content

switch to gitlab module to test with old version syntax#4126

Merged
mashehu merged 4 commits intonf-core:devfrom
mashehu:fix-testing
Mar 19, 2026
Merged

switch to gitlab module to test with old version syntax#4126
mashehu merged 4 commits intonf-core:devfrom
mashehu:fix-testing

Conversation

@mashehu
Copy link
Copy Markdown
Contributor

@mashehu mashehu commented Mar 19, 2026

Closes #4125

bioawk was recently switched to the new topic syntax, but we used this module to check for the old sytnax.

To avoid trying to find modules without topics in the main nf-core modules repo, I instead test the topic version linting against out test repo on gitlab, which has more stable modules (i.e. they only change if we need to).

This PR also adds a helper function to install a module from the branch on gitlab that has modules with nf-test to avoid getting more linting warnings than necessary.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.42%. Comparing base (d6d6e14) to head (61af76d).
⚠️ Report is 1 commits behind head on dev.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@beatrizsavinhas beatrizsavinhas left a comment

Choose a reason for hiding this comment

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

Looks good to me! And great that you made the test more specific too! 🌟

Comment thread tests/modules/lint/test_main_nf.py Outdated
Comment thread tests/modules/lint/test_main_nf.py Outdated
Comment thread tests/modules/lint/test_main_nf.py
Comment thread tests/modules/lint/test_main_nf.py Outdated
Co-authored-by: Beatriz Vinhas <[email protected]>
Co-authored-by: Matthias Hörtenhuber <[email protected]>
@mashehu
Copy link
Copy Markdown
Contributor Author

mashehu commented Mar 19, 2026

@nf-core-bot fix linting

@mashehu mashehu enabled auto-merge (squash) March 19, 2026 19:49
@mashehu mashehu merged commit b029ff6 into nf-core:dev Mar 19, 2026
112 checks passed
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