Skip to content

Commit 54016a2

Browse files
committed
Test chrome on GH Actions
1 parent ac40101 commit 54016a2

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/test.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,52 @@ on:
66
branches: [ "main" ]
77

88
jobs:
9+
test-chrome:
10+
runs-on: ubuntu-24.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
lfs: true
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: "22"
20+
cache: 'yarn'
21+
22+
- name: Start wasmd
23+
run: RUNNER_TRACKING_ID="" && ./scripts/wasmd/start.sh &
24+
- name: Start simapp
25+
run: RUNNER_TRACKING_ID="" && ./scripts/simapp50/start.sh &
26+
- name: Start slow simapp
27+
run: RUNNER_TRACKING_ID="" && ./scripts/simapp50/slow_start.sh &
28+
- name: Start Tendermint blockchains
29+
run: RUNNER_TRACKING_ID="" && ./scripts/tendermint/all_start.sh &
30+
- name: Start socket server
31+
run: RUNNER_TRACKING_ID="" && ./scripts/socketserver/start.sh &
32+
- name: Start http server
33+
run: RUNNER_TRACKING_ID="" && ./scripts/httpserver/start.sh &
34+
35+
- name: Install dependencies
36+
run: yarn install --immutable --immutable-cache --check-cache
37+
38+
- name: Build
39+
run: yarn build
40+
41+
- name: Initialize wasmd (deploy contracts and friends)
42+
run: ./scripts/wasmd/init.sh
43+
44+
- name: Test
45+
env:
46+
HTTPSERVER_ENABLED: 1
47+
SIMAPP50_ENABLED: 1
48+
SLOW_SIMAPP50_ENABLED: 1
49+
TENDERMINT_ENABLED: 1
50+
SOCKETSERVER_ENABLED: 1
51+
SKIP_BUILD: 1
52+
WASMD_ENABLED: 1
53+
run: yarn test-chrome
54+
955
test:
1056
strategy:
1157
matrix:

0 commit comments

Comments
 (0)