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

update assertions to use descriptive variable names #2861

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sateeshperi
Copy link
Contributor

@sateeshperi sateeshperi commented Nov 22, 2024

@netlify /docs/contributing/nf-test/assertions

Copy link

netlify bot commented Nov 22, 2024

Deploy Preview for nf-core-main-site ready!

Name Link
🔨 Latest commit da2701b
🔍 Latest deploy log https://app.netlify.com/sites/nf-core-main-site/deploys/6746e5d944923d00089b7205
😎 Deploy Preview https://deploy-preview-2861--nf-core-main-site.netlify.app/docs/contributing/nf-test/assertions
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Nov 22, 2024

Deploy Preview for nf-core-docs ready!

Name Link
🔨 Latest commit da2701b
🔍 Latest deploy log https://app.netlify.com/sites/nf-core-docs/deploys/6746e5d908a26700089f1781
😎 Deploy Preview https://deploy-preview-2861--nf-core-docs.netlify.app/docs/contributing/nf-test/assertions
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

2. **Minimum Requirement - Process Success + version.yml file**: Always check if the process completes successfully and make at least a snapshot of the version.yml.

```groovy
assertAll(
{ assert process.success },
{ assert snapshot(process.out.versions).match("versions") }
{ assert snapshot(process.out.versions).match() }
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably swap to using the explicit versions yml option (wherever the link to that is)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree

Copy link
Contributor Author

Choose a reason for hiding this comment

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

feel free to update and merge :)

Copy link
Contributor

Choose a reason for hiding this comment

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

I'd need to find the explicit versions yml code first ;)

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.

2 participants