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

Exporting the test failure reason in VDTESTING_FAILURE_REASON #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevalpatel2106
Copy link

@kevalpatel2106 kevalpatel2106 commented Mar 10, 2023

Checklist

  • I've read and followed the Contribution Guidelines
  • step.yml and README.md is updated with the changes (if needed)

Version

Requires a MAJOR/MINOR/PATCH version update

Context

This PR changes the step to export VDTESTING_FAILURE_REASON when the UI test fails. This allows the developers to use the environment variable to utilise the failure reason in the next steps. e.g. They can put the failure reason in the slack messages to identify failure the reasons easily. Or retrigger workflow if the test failed because of recoverable reason (i.e. Crashed).

Changes

Updated main.go to export VDTESTING_FAILURE_REASON using envman with the failure reason (which is the same as what we display in the outcome summary.)

Investigation details

No alternative solutions were considered.

Decisions

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