Skip to content

Commit

Permalink
Set pipefail in demo-native action (#1950)
Browse files Browse the repository at this point in the history
Set `pipefail` in shell.  Otherwise the pipe will exit w/ success since sed exits w/ 0.

Co-authored-by: tbro <tbro@users.noreply.github.com>
  • Loading branch information
tbro and tbro authored Aug 30, 2024
1 parent e4f156e commit 53f409d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test-demo-native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,6 @@ jobs:
- name: Test Demo
run: |
export PATH="$PWD/target/release:$PATH"
set -o pipefail
scripts/demo-native --tui=false &
timeout -v 600 scripts/smoke-test-demo | sed -e 's/^/smoke-test: /;'

0 comments on commit 53f409d

Please sign in to comment.