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

Remove stub run in download_pipeline.yml #471

Merged
merged 4 commits into from
Apr 16, 2024

Conversation

LilyAnderssonLee
Copy link
Contributor

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/taxprofiler 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>).
  • 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).

Copy link

github-actions bot commented Apr 12, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 8fe3968

+| ✅ 192 tests passed       |+
!| ❗   3 tests had warnings |!

❗ Test warnings:

  • nextflow_config - Config manifest.version should end in dev: 1.1.6
  • pipeline_todos - TODO string in ci.yml: You can customise CI pipeline run tests as required
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!

✅ Tests passed:

Run details

  • nf-core/tools version 2.13.1
  • Run at 2024-04-16 07:28:12

@Midnighter
Copy link
Collaborator

Isn't it supposed to be dev? Just had a brief read through Slack, so I'm likely wrong.

@LilyAnderssonLee
Copy link
Contributor Author

Aha, I misunderstood it then. So I should change it to like this?
nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< dev) -stub -profile test,singularity --outdir ./results

Copy link
Member

@MatthiasZepper MatthiasZepper left a comment

Choose a reason for hiding this comment

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

This PR will sadly not change anything with regard to the action. Because you want to merge the changes into the dev branch of your pipeline. So after merging, you change dev.

Whatever change is being made to that Github Action will however not take effect before merged to master.

So the problem is not, that there are still issues with the updated test (after #470 that looks good) but that the version that is run for checking your release PR is the version of the test released with Taxprofiler 1.1.5 in February. Until 1.1.6 is out, whatever changes you and Sofia made since, are disregarded.

So you only have two options: Publish the new release despite the failing test, or patch the master branch first. (That is pushing the modified CI pipeline to master, which may be rejected due to branch protection rules...)

.github/workflows/download_pipeline.yml Show resolved Hide resolved
.github/workflows/download_pipeline.yml Outdated Show resolved Hide resolved
@LilyAnderssonLee LilyAnderssonLee changed the title Manually define stub run branch as master Remove stub run in download_pipeline.yml Apr 16, 2024
Copy link
Member

@jfy133 jfy133 left a comment

Choose a reason for hiding this comment

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

LGTM. I guess you could just commetn out the stub version rather than remove it entirely, but same thing for now and I'm sure can fix in a future tmplate merge :)

@jfy133
Copy link
Member

jfy133 commented Apr 16, 2024

Ah let's skip it for now

@jfy133 jfy133 self-requested a review April 16, 2024 08:44
@jfy133 jfy133 merged commit e805e26 into nf-core:dev Apr 16, 2024
24 checks passed
@LilyAnderssonLee LilyAnderssonLee deleted the download-pipeline-bug branch June 25, 2024 13:49
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.

6 participants