Skip to content

Commit

Permalink
fix(ci): grep the Zcash network correctly (#7713)
Browse files Browse the repository at this point in the history
  • Loading branch information
gustavovalverde authored Oct 10, 2023
1 parent 004e436 commit 9c12f7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy-gcp-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -604,14 +604,18 @@ jobs:
--ssh-flag="-o ConnectionAttempts=20" \
--ssh-flag="-o ConnectTimeout=5" \
--command=' \
trap "" PIPE;
# Temporarily disable "set -e" to handle the broken pipe error gracefully
set +e;
sudo docker logs \
--tail all \
--follow \
${{ inputs.test_id }} | \
head -700 | \
tee --output-error=exit-nopipe /dev/stderr | \
grep --max-count=1 --extended-regexp --color=always \
-e "Zcash network: ${{ inputs.network }}" \
"Zcash network: ${{ inputs.network }}"; \
'
# Check that the container executed at least 1 Rust test harness test, and that all tests passed.
Expand Down

0 comments on commit 9c12f7b

Please sign in to comment.