Skip to content

Commit a311f8c

Browse files
authored
Install polycli in kurtosis e2e (#2036)
This is required by opcode test in kurtosis_smoke_test.sh
1 parent f25a2d0 commit a311f8c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/kurtosis-e2e.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ concurrency:
1717

1818
env:
1919
ENCLAVE_NAME: kurtosis-e2e
20+
POLYCLI_VERSION: v0.1.102
2021

2122
jobs:
2223
build-bor:
@@ -146,6 +147,15 @@ jobs:
146147
export PRIV_KEY="0xd40311b5a5ca5eaeb48dfba5403bde4993ece8eccf4190e98e19fcd4754260ea"
147148
go run . --priv-key "$PRIV_KEY" --rpc-url "$RPC_URL" --log-req-res true
148149
150+
- name: Install polycli
151+
run: |
152+
tmp_dir=$(mktemp -d)
153+
curl -L https://github.com/0xPolygon/polygon-cli/releases/download/${{ env.POLYCLI_VERSION }}/polycli_${{ env.POLYCLI_VERSION }}_linux_amd64.tar.gz | tar -xz -C "$tmp_dir"
154+
mv "$tmp_dir"/* /usr/local/bin/polycli
155+
rm -rf "$tmp_dir"
156+
sudo chmod +x /usr/local/bin/polycli
157+
polycli version
158+
149159
- name: Run smoke tests
150160
working-directory: pos-workflows/tests
151161
run: bash ./kurtosis_smoke_test.sh

0 commit comments

Comments
 (0)