Skip to content

Refactor netmhcpan CI to use shared nf-test action#328

Merged
jonasscheid merged 11 commits intodevfrom
refactor-netmhcpan-ci
Feb 3, 2026
Merged

Refactor netmhcpan CI to use shared nf-test action#328
jonasscheid merged 11 commits intodevfrom
refactor-netmhcpan-ci

Conversation

@jonasscheid
Copy link
Collaborator

Refactor netmhcpan CI

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/epitopeprediction branch on the nf-core/test-datasets repository.
  • 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).

- Make action inputs optional with backwards-compatible defaults
- Add changed_since parameter to control --changed-since flag
- Remove hardcoded --tag !netmhcpan from action (now passed via input)
- Change NFT_WORKDIR to $TMPDIR for better Singularity compatibility
- Simplify netmhcpan job by using shared action instead of duplicating setup

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.4.1.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

@github-actions
Copy link

github-actions bot commented Jan 26, 2026

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 9d0dbe3

+| ✅ 255 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   3 tests had warnings |!
Details

❗ Test warnings:

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: assets/nf-core-epitopeprediction_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-epitopeprediction_logo_light.png
  • files_unchanged - File ignored due to lint config: docs/images/nf-core-epitopeprediction_logo_dark.png

✅ Tests passed:

Run details

  • nf-core/tools version 3.5.1
  • Run at 2026-01-27 12:34:03

jonasscheid and others added 8 commits January 26, 2026 20:26
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add CI file patterns to nf-test.config triggers so changed-since
detects CI infrastructure changes as requiring a full test run.
Pass tags to get-shards to match the filtered test set.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When snapshot files change, all tests should run to verify the
updated expectations are correct.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
nf-test 0.9.3 --dry-run with --tag !netmhcpan always outputs
"No tests to execute" even when tests are found. Remove tags
from get-shards (matching TEMPLATE) and let the actual nf-test
job handle tag filtering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
nf-test 0.9.3 does not support tag negation with ! prefix.
Remove tag "pipeline" from netmhcpan test so --tag pipeline
in the main nf-test job selects all tests except netmhcpan.
The netmhcpan job already uses --tag netmhcpan for positive match.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@jonasscheid jonasscheid changed the title Refactor netmhcpan job to use shared nf-test action Refactor netmhcpan CI to use shared nf-test action Jan 27, 2026
@jonasscheid jonasscheid mentioned this pull request Jan 27, 2026
11 tasks
@jonasscheid jonasscheid merged commit 9ea0f11 into dev Feb 3, 2026
18 of 20 checks passed
@jonasscheid jonasscheid deleted the refactor-netmhcpan-ci branch February 3, 2026 13:35
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