4343
4444 - name : Start Solana Test Validator
4545 run : |
46+ # Increase resource limits BEFORE starting the validator
47+ sudo prlimit --pid $$ --nofile=1048576:1048576
48+ sudo sysctl fs.inotify.max_user_instances=1280
49+ sudo sysctl fs.inotify.max_user_watches=655360
50+
4651 solana-test-validator \
4752 --ledger ./my-ledger-1 \
4853 --reset \
@@ -61,13 +66,10 @@ jobs:
6166
6267 # Wait for validator to be ready
6368 timeout 30 bash -c 'until solana cluster-version --url http://localhost:8899 >/dev/null 2>&1; do sleep 1; done'
69+
6470 - name : Start MagicBlock Ephemeral Validator
6571 run : |
66- sudo prlimit --pid $$ --nofile=1048576:1048576
67- sudo sysctl fs.inotify.max_user_instances=1280
68- sudo sysctl fs.inotify.max_user_watches=655360
69-
70- RUST_LOG=info ephemeral-validator \
72+ RUST_LOG=info ephemeral-validator \
7173 --accounts-lifecycle ephemeral \
7274 --remote-cluster development \
7375 --remote-url http://127.0.0.1:8899 \
8991 EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
9092 PROVIDER_ENDPOINT=http://localhost:8899 \
9193 WS_ENDPOINT=http://localhost:8900 \
92- anchor test
93-
94- # - name: Test anchor-minter
95- # run: |
96- # cd anchor-minter
97- # yarn install
98- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
99- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
100- # PROVIDER_ENDPOINT=http://localhost:8899 \
101- # WS_ENDPOINT=http://localhost:8900 \
102- # anchor test
103-
104- # - name: Test anchor-rock-paper-scissor
105- # run: |
106- # cd anchor-rock-paper-scissor
107- # yarn install
108- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
109- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
110- # PROVIDER_ENDPOINT=http://localhost:8899 \
111- # WS_ENDPOINT=http://localhost:8900 \
112- # anchor test
113-
114- # - name: Test bolt-counter
115- # run: |
116- # cd bolt-counter
117- # yarn install
118- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
119- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
120- # PROVIDER_ENDPOINT=http://localhost:8899 \
121- # WS_ENDPOINT=http://localhost:8900 \
122- # yarn test
123-
124- # - name: Test dummy-token-transfer
125- # run: |
126- # cd dummy-token-transfer
127- # yarn install
128- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
129- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
130- # PROVIDER_ENDPOINT=http://localhost:8899 \
131- # WS_ENDPOINT=http://localhost:8900 \
132- # anchor test
133-
134- # - name: Test roll-dice
135- # run: |
136- # cd roll-dice
137- # yarn install
138- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
139- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
140- # PROVIDER_ENDPOINT=http://localhost:8899 \
141- # WS_ENDPOINT=http://localhost:8900 \
142- # anchor test
143-
144- # - name: Test rust-counter
145- # run: |
146- # cd rust-counter
147- # yarn install
148- # EPHEMERAL_PROVIDER_ENDPOINT=http://localhost:7799 \
149- # EPHEMERAL_WS_ENDPOINT=ws://localhost:7800 \
150- # PROVIDER_ENDPOINT=http://localhost:8899 \
151- # WS_ENDPOINT=http://localhost:8900 \
152- # yarn test
94+ anchor test
0 commit comments