From bdbb52d46bf831d54d94f8d35847cf9a2ba6728c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20M=C3=BCller?= Date: Thu, 7 Apr 2022 18:17:17 +0200 Subject: [PATCH] use tee -i in CI to get log output from python local setup --- .github/workflows/build_and_test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index b8ba7c087f..08061fd854 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -209,8 +209,8 @@ jobs: # * `set -eo pipefail` is needed to return an error even if piped to `tee`. shell: bash --noprofile --norc -eo pipefail {0} run: | - touch ${{ env.LOG_DIR}}/local-setup.log - ./local-setup/launch.py local-setup/github-action-config.json 2>&1 | tee ${{ env.LOG_DIR}}/local-setup.log & + touch ${{ env.LOG_DIR }}/local-setup.log + ./local-setup/launch.py local-setup/github-action-config.json 2>&1 | tee -i ${{ env.LOG_DIR }}/local-setup.log & sleep 150 - name: ${{ matrix.demo_name }}