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

Pass test output to test hooks #723

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Pass test output to test hooks #723

merged 1 commit into from
Oct 26, 2023

Conversation

niallthomson
Copy link
Contributor

What this PR does / why we need it:

The PR provides an environment variable called TEST_OUTPUT to test hooks so that they can easily perform assertions on the output of the script in the bash block. It also adds corresponding documentation to the test util.

Which issue(s) this PR fixes:

Fixes #

Quality checks

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@netlify
Copy link

netlify bot commented Oct 26, 2023

Deploy Preview for eks-workshop ready!

Name Link
🔨 Latest commit b2c1063
🔍 Latest deploy log https://app.netlify.com/sites/eks-workshop/deploys/653acd7cedcf840007f6406c
😎 Deploy Preview https://deploy-preview-723--eks-workshop.netlify.app
📱 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.

@niallthomson niallthomson merged commit aaa8f8b into main Oct 26, 2023
6 checks passed
@niallthomson niallthomson deleted the test-output-env branch October 26, 2023 22:04
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.

1 participant