Skip to content

Commit 263e296

Browse files
committed
fix: cleanup pr.yml
1 parent 51c9482 commit 263e296

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,8 @@ jobs:
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

@@ -51,10 +30,7 @@ jobs:
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

0 commit comments

Comments
 (0)