-
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
Improve cloud testing matrix strategy #1378
Conversation
|
@nf-core-bot fix linting |
Ideally I'd like to move the |
|
why renaming it back to |
You can't test it under an alternative filename. We have to change the filename when we merge it to |
.github/workflows/awstest.yml
Outdated
somatic: | ||
description: "Somatic full test" | ||
type: boolean | ||
default: false |
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.
hm does this turn of that they are run automatically on 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.
Yes. The whole workflow is triggered by:
- On release
- Workflow dispatch (manual)
If manual, there is an inputs
item which includes these variables. When it runs, it checks the inputs
item for the matrix.test
and matrix.cloud
key, e.g. if matrix.test = azure
, it checks inputs.azure
is false, based on manual setting, then negates it. This means if it is true, the test will run. If the workflow is automatically triggered, inputs
does not exist and it will not find inputs.azure
, therefore the test will run.
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.
Having said that, I actually have no way of testing this automatically.
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.
then let's merge that, and we'll test
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).