File tree Expand file tree Collapse file tree 1 file changed +2
-26
lines changed
Expand file tree Collapse file tree 1 file changed +2
-26
lines changed Original file line number Diff line number Diff line change 1919 - run : npm ci
2020 - run : npm run build --if-present
2121
22- - uses : actions/upload-artifact@v2
23- with :
24- name : build
25- path : dist
26-
2722 tests :
28- strategy :
29- max-parallel : 1 # needed until we get a seperate account for the rpc provider, until then running them in parallel would result in a nonce issue
30- matrix :
31- name : [sequencer-test, sequencer-goerli, rpc-goerli]
32- include :
33- - name : sequencer-test
34- TEST_PROVIDER_BASE_URL : http://127.0.0.1:5050/
35- - name : sequencer-goerli
36- TEST_PROVIDER_BASE_URL : https://alpha4.starknet.io
37- ENABLE_TEST_ACCOUNT_PRIVATE_KEY : true
38- ENABLE_TEST_ACCOUNT_ADDRESS : true
39- - name : rpc-goerli
40- ENABLE_TEST_RPC_URL : true
41- ENABLE_TEST_ACCOUNT_PRIVATE_KEY : true
42- ENABLE_TEST_ACCOUNT_ADDRESS : true
43-
44- name : Run test on ${{ matrix.name }}
23+ name : Run test
4524 runs-on : ubuntu-latest
4625 needs : [build]
4726
5130 ports :
5231 - 5050:5050
5332 env :
54- TEST_PROVIDER_BASE_URL : ${{ matrix.TEST_PROVIDER_BASE_URL }}
55- TEST_RPC_URL : ${{ matrix.ENABLE_TEST_RPC_URL && secrets.TEST_RPC_URL }}
56- TEST_ACCOUNT_PRIVATE_KEY : ${{ matrix.ENABLE_TEST_ACCOUNT_PRIVATE_KEY && secrets.TEST_ACCOUNT_PRIVATE_KEY }}
57- TEST_ACCOUNT_ADDRESS : ${{ matrix.ENABLE_TEST_ACCOUNT_ADDRESS && secrets.TEST_ACCOUNT_ADDRESS }}
33+ TEST_PROVIDER_BASE_URL : http://127.0.0.1:5050/
5834
5935 steps :
6036 - uses : actions/checkout@v2
You can’t perform that action at this time.
0 commit comments