Skip to content

Commit 4913987

Browse files
committed
Merge remote-tracking branch 'origin/unstable' into tree-states-hot-rebase
2 parents 80a5353 + ae30480 commit 4913987

File tree

21 files changed

+1150
-277
lines changed

21 files changed

+1150
-277
lines changed

.github/workflows/local-testnet.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,18 @@ jobs:
5252
- name: Load Docker image
5353
run: docker load -i lighthouse-docker.tar
5454

55-
- name: Start local testnet
56-
run: ./start_local_testnet.sh -e local -c -b false && sleep 60
55+
- name: Start local testnet with Assertoor
56+
run: ./start_local_testnet.sh -e local-assertoor -c -a -b false && sleep 60
5757
working-directory: scripts/local_testnet
5858

59-
- name: Stop local testnet and dump logs
60-
run: ./stop_local_testnet.sh local
61-
working-directory: scripts/local_testnet
62-
63-
- name: Start local testnet with blinded block production
64-
run: ./start_local_testnet.sh -e local-blinded -c -p -b false && sleep 60
65-
working-directory: scripts/local_testnet
59+
- name: Await Assertoor test result
60+
id: assertoor_test_result
61+
uses: ethpandaops/assertoor-github-action@v1
62+
with:
63+
kurtosis_enclave_name: local-assertoor
6664

6765
- name: Stop local testnet and dump logs
68-
run: ./stop_local_testnet.sh local-blinded
66+
run: ./stop_local_testnet.sh local-assertoor
6967
working-directory: scripts/local_testnet
7068

7169
- name: Upload logs artifact
@@ -76,6 +74,29 @@ jobs:
7674
scripts/local_testnet/logs
7775
retention-days: 3
7876

77+
- name: Return Assertoor test result
78+
shell: bash
79+
run: |
80+
test_result="${{ steps.assertoor_test_result.outputs.result }}"
81+
test_status=$(
82+
cat <<"EOF"
83+
${{ steps.assertoor_test_result.outputs.test_overview }}
84+
EOF
85+
)
86+
failed_test_status=$(
87+
cat <<"EOF"
88+
${{ steps.assertoor_test_result.outputs.failed_test_details }}
89+
EOF
90+
)
91+
92+
echo "Test Result: $test_result"
93+
echo "$test_status"
94+
if ! [ "$test_result" == "success" ]; then
95+
echo "Failed Test Task Status:"
96+
echo "$failed_test_status"
97+
exit 1
98+
fi
99+
79100
doppelganger-protection-success-test:
80101
needs: dockerfile-ubuntu
81102
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)