This commit is contained in:
2024-07-24 20:39:30 +08:00
parent 43ccaba4b8
commit 8b402c11d0
2 changed files with 5 additions and 8 deletions
+3 -7
View File
@@ -41,10 +41,6 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
- name: Install jq
env:
DEBIAN_FRONTEND: noninteractive
run: apt-get update && apt-get install -y jq
# At present the stock setup-python action fails on Linux/aarch64
# Conditional steps below workaroud this by using deadsnakes for that case only
- name: "Install Python for ARM on Linux"
@@ -82,13 +78,13 @@ jobs:
- name: Wait for testnet
run: |
# Start validator at current head, but not before Merge (block 1 on test chain)
echo "Waiting for chain head to progress..."
while
echo "Waiting for chain head to progress..."
height=$(./scripts/get-block-number.sh $ETH_HTTP_PATH)
[[ "$height" < 2 ]];
[[ "$height" -lt 2 ]];
do sleep 5; done
echo "Chain has reached block $height"
echo VALIDATE_FROM_BLOCK=$height >> "$GITHUB_ENV"
- name: Run tests
run: |
go test ./integration/... -v -timeout=20m
go test -v -p 1 ./integration/... -timeout=20m