-
Notifications
You must be signed in to change notification settings - Fork 180
Fix manual CI workflow and add name option.
#904
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,13 @@ name: SQL Plugin Tests | |
|
|
||
| on: | ||
| workflow_dispatch: | ||
| inputs: | ||
| name: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we call this
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's a custom run name which could be specified to override the default value. Default is |
||
| required: false | ||
| type: string | ||
|
|
||
| run-name: | ||
| ${{ inputs.name == '' && format('{0} @ {1}', github.ref_name, github.sha) || inputs.name }} | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
@@ -64,10 +71,10 @@ jobs: | |
|
|
||
| - name: Verify test results | ||
| run: | | ||
| if [[ -e failures.log ]] | ||
| if [[ -e report.log ]] | ||
| then | ||
| echo "## FAILED TESTS :facepalm::warning::bangbang:" >> $GITHUB_STEP_SUMMARY | ||
| cat failures.log >> $GITHUB_STEP_SUMMARY | ||
| cat report.log >> $GITHUB_STEP_SUMMARY | ||
| exit 1 | ||
| fi | ||
|
|
||
|
|
||
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.
please add a description, maybe with example?
<branch name> @ <commit sha>