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

Add post-run-command hook #76

Merged
merged 3 commits into from
May 16, 2020

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Oct 27, 2019

Closes #74

Pass environment variables with some summary info.

Passing the path to the junit file and json file allows the script to read the full details from one of those files, however there would be lots of parsing required.

A JSON summary file with more parsed details would help, but requires some work to figure out the correct format.

@dnephin dnephin changed the title WIP: Add post-run-command hook Add post-run-command hook Dec 24, 2019
@dnephin dnephin force-pushed the add-post-run-command branch 2 times, most recently from d883f34 to c9099d1 Compare December 24, 2019 16:34
Pass environment variables with some summary info
@dnephin dnephin force-pushed the add-post-run-command branch 3 times, most recently from 9ab2a93 to 75d8d28 Compare May 16, 2020 19:45
dnephin and others added 2 commits May 16, 2020 15:47
Using shlex to parse the command to avoid needing to guess about which shell should run
the command.

Also adds a test.
eg. --post-run-command 'go run contrib/notify/notify-macos.go'
@dnephin dnephin merged commit 0a6ff94 into gotestyourself:master May 16, 2020
@dnephin dnephin deleted the add-post-run-command branch May 16, 2020 21:09
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.

Add post-run hook to support sending desktop notifications
1 participant