Skip to content

Commit

Permalink
test: don't log full command output.
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Feb 17, 2024
1 parent c562028 commit ead6af6
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions run-tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,7 @@ runs:
shell: bash
run: |
# shellcheck disable=SC2288,SC2086,SC1083
${{ inputs.test-command }} |& tee test-output.txt
echo 'output=<<__TEST_EOF__' >> $GITHUB_OUTPUT
cat test-output.txt >> $GITHUB_OUTPUT
echo '__TEST_EOF__' >> $GITHUB_OUTPUT
${{ inputs.test-command }}
- name: Comment on call for testing issue with test result
if: success() || failure()
Expand All @@ -78,11 +75,6 @@ runs:
${{ steps.tests.summary }}
<details><summary>Test command output</summary>
```
${{ steps.tests.outputs.output }}
```
</details>
Full logs are available at https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
`
})

0 comments on commit ead6af6

Please sign in to comment.