-
Notifications
You must be signed in to change notification settings - Fork 417
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
Overhaul GHA #1200
Overhaul GHA #1200
Conversation
|
@@ -67,7 +53,6 @@ jobs: | |||
env: | |||
NXF_ANSI_LOG: false | |||
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets" | |||
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm ... Are you sure about that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied it from the existing workflow, what should it be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you mean you copied it from the existing workflow?
Anyways, I don't think the line should be deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It came from pytest-workflow_release.yml, which I merged with this one. Will add it back!
@nf-core-bot fix linting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm
Can you update changelog ? |
Yup, I was waiting until I knew what I actually had changed! |
too many tests are triggered, can you restore the check changes part of the actions? |
This reverts commit d1b3f4e.
6d39549
to
a64e540
Compare
Done, but we need a way of avoiding the paths-filter hitting the API limit. Hmmmmmmm. |
@maxulysse what does this parameter do and is it the cause of our current problems? Line 122 in 2454384
Error:
|
Good catch |
never mind, we don't that in dev anymore... |
Fixed with #1203 |
yeah was looking at the wrong branch... |
add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me!
Do you have an issue for the file-paths hitting the API rate limit? Maybe we should open it with them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some of it is a black box to me, but from what i see it is streamlining the tests, not changing them, right?
@@ -4,10 +4,24 @@ name: nf-core AWS test | |||
|
|||
on: | |||
workflow_dispatch: | |||
inputs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice I like it, much cleaner to have it all here
Yes we do. I tried to fix by using an empty token ( |
yup, condensing multiple workflows to single files wherever possible. Removing older cruft. I may have introduced some problems once it's on master but it's quite hard to test before merging. |
sorry didn't mean to edit your comment but quote as reply. 🤦♀️ goind to get some coffee ☕ |
ok then let's merge and be ready for a patch release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Anything we can push to TEMPLATE as well?
Kinda, if you look it only includes a very trivial example of running So it's a little hard to migrate the changes over. Will we be adding pytest-workflow and the change tracking to them? Maybe we should? Perhaps it's worth a ticket and discussion before adding new code? I can merge the AWS tests but that's the smallest part of this PR. |
Streamline Github Actions a bit to make them more efficient.
default
tag to pytest-workflow if anything changes within the repo. Always runs the basic 4 tests.PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).