File tree Expand file tree Collapse file tree 8 files changed +193
-311
lines changed
Expand file tree Collapse file tree 8 files changed +193
-311
lines changed Original file line number Diff line number Diff line change 6363FVM
6464GC
6565GiB
66+ Grafana
6667HAMT
6768hasher
6869healthcheck
7374IPLD
7475JSON
7576JWT
77+ k6
7678Kademlia
7779Kubernetes
7880Leptos
Original file line number Diff line number Diff line change 1- name : Test
1+ name : E2E Test
22
33concurrency :
44 group : " ${{ github.workflow }}-${{ github.ref }}"
2020 RUSTC_WRAPPER : sccache
2121 CC : sccache clang
2222 CXX : sccache clang++
23+ FAUCET_TOPUP_REQ_URL : ' ${{ vars.FAUCET_TOPUP_REQ_URL }}'
24+ FAUCET_TX_URL_CALIBNET : ' ${{ vars.FAUCET_TX_URL_CALIBNET }}'
25+ FAUCET_TX_URL_MAINNET : ' ${{ vars.FAUCET_TX_URL_MAINNET }}'
2326
2427jobs :
2528 e2e :
2629 runs-on : ubuntu-latest
27-
2830 steps :
2931 - name : Setup sccache
3032 uses :
mozilla-actions/[email protected] 4951 - name : Install worker-build
5052 run : cargo install --locked worker-build
5153
52- - uses : nanasess/setup-chromedriver@v2
53- - run : |
54- chromedriver --port=9515 &
54+ - name : Set up k6 (with browser)
55+ uses : grafana/setup-k6-action@v1
56+ with :
57+ browser : true
58+
59+ - name : Set up secrets
60+ shell : bash
61+ run : |
62+ echo "SECRET_WALLET=${{ secrets.TEST_CALIBNET_PRIVATE_KEY_HEX }}" > .dev.vars
63+ echo "SECRET_MAINNET_WALLET=${{ secrets.TEST_MAINNET_PRIVATE_KEY_HEX }}" >> .dev.vars
5564
5665 - name : Run website
5766 run : |
6271 echo "waiting"
6372 timeout 120 sh -c 'until nc -z $0 $1; do sleep 1; done' 127.0.0.1 8787
6473
65- - name : E2E
66- run : |
67- cd e2e
68- cargo build
69- cargo run
74+ - name : Run k6 E2E script
75+ uses : grafana/run-k6-action@v1
76+ with :
77+ path : ' e2e/script.js'
You can’t perform that action at this time.
0 commit comments