-
Notifications
You must be signed in to change notification settings - Fork 532
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix nightly - local vars * test out * fix test status notidication * back to main branch
- Loading branch information
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ jobs: | |
environment: ${{ inputs.environment }} | ||
runs-on: ubuntu-latest | ||
outputs: | ||
loadtest_output_failure: ${{ steps.run_k6_failure.outputs.test_output }} | ||
loadtest_output_success: ${{ steps.run_k6_success.outputs.test_output }} | ||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v3 | ||
|
@@ -118,10 +118,10 @@ jobs: | |
LOADTEST_MNEMONIC: ${{ secrets.LOADTEST_MNEMONIC }} | ||
LOADTEST_DURATION: ${{ inputs.duration }} | ||
|
||
- name: Run tests failed | ||
if: failure() | ||
id: run_k6_failure | ||
run: echo "test_output=false" >> $GITHUB_OUTPUT | ||
- name: Run tests success | ||
if: success() | ||
id: run_k6_success | ||
run: echo "test_output=true" >> $GITHUB_OUTPUT | ||
|
||
- name: Notify Slack | ||
uses: slackapi/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters