Skip to content

Commit

Permalink
use tee -i in CI to get log output from python local setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Müller committed Apr 7, 2022
1 parent f59cf14 commit bdbb52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit bdbb52d

Please sign in to comment.