Skip to content

Commit d84f041

Browse files
committed
take3
1 parent c91c584 commit d84f041

File tree

1 file changed

+68
-6
lines changed

1 file changed

+68
-6
lines changed

.github/workflows/test.yml

Lines changed: 68 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
--remote-cluster development \
7575
--remote-url http://127.0.0.1:8899 \
7676
--remote-ws-url ws://127.0.0.1:8900 \
77-
--rpc-port 7799 &
77+
--rpc-port 7799
7878
7979
# Wait for validator to be ready
8080
timeout 20 bash -c 'until curl -s http://localhost:7799 >/dev/null 2>&1; do sleep 1; done'
@@ -87,8 +87,70 @@ jobs:
8787
- name: Test anchor-counter
8888
run: |
8989
cd anchor-counter
90-
EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
91-
EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
92-
PROVIDER_ENDPOINT=http://localhost:8899 \
93-
WS_ENDPOINT=http://localhost:8900 \
94-
anchor test --provider.cluster localnet
90+
EPHEMERAL_PROVIDER_ENDPOINT="http://localhost:7799" \
91+
EPHEMERAL_WS_ENDPOINT="ws://localhost:7800" \
92+
anchor test \
93+
--provider.cluster localnet \
94+
--skip-local-validator \
95+
--skip-build \
96+
--skip-deploy
97+
98+
# - name: Test anchor-minter
99+
# run: |
100+
# cd anchor-minter
101+
# yarn install
102+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
103+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
104+
# PROVIDER_ENDPOINT=http://localhost:8899 \
105+
# WS_ENDPOINT=http://localhost:8900 \
106+
# anchor test
107+
108+
# - name: Test anchor-rock-paper-scissor
109+
# run: |
110+
# cd anchor-rock-paper-scissor
111+
# yarn install
112+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
113+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
114+
# PROVIDER_ENDPOINT=http://localhost:8899 \
115+
# WS_ENDPOINT=http://localhost:8900 \
116+
# anchor test
117+
118+
# - name: Test bolt-counter
119+
# run: |
120+
# cd bolt-counter
121+
# yarn install
122+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
123+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
124+
# PROVIDER_ENDPOINT=http://localhost:8899 \
125+
# WS_ENDPOINT=http://localhost:8900 \
126+
# yarn test
127+
128+
# - name: Test dummy-token-transfer
129+
# run: |
130+
# cd dummy-token-transfer
131+
# yarn install
132+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
133+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
134+
# PROVIDER_ENDPOINT=http://localhost:8899 \
135+
# WS_ENDPOINT=http://localhost:8900 \
136+
# anchor test
137+
138+
# - name: Test roll-dice
139+
# run: |
140+
# cd roll-dice
141+
# yarn install
142+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
143+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
144+
# PROVIDER_ENDPOINT=http://localhost:8899 \
145+
# WS_ENDPOINT=http://localhost:8900 \
146+
# anchor test
147+
148+
# - name: Test rust-counter
149+
# run: |
150+
# cd rust-counter
151+
# yarn install
152+
# EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
153+
# EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
154+
# PROVIDER_ENDPOINT=http://localhost:8899 \
155+
# WS_ENDPOINT=http://localhost:8900 \
156+
# yarn test

0 commit comments

Comments
 (0)