Skip to content

Commit f2f482b

Browse files
committed
Clean
1 parent 6c3aa96 commit f2f482b

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

.github/workflows/sharing-smart-contracts-reusable.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ jobs:
2727

2828
- name: Install Dependencies
2929
working-directory: packages/sharing-smart-contract
30-
shell: bash
3130
run: |
3231
node -v
3332
npm -v
@@ -41,22 +40,18 @@ jobs:
4140

4241
- name: Compile
4342
working-directory: packages/sharing-smart-contract
44-
shell: bash
4543
run: npm run compile
4644

4745
- name: Check Format
4846
working-directory: packages/sharing-smart-contract
49-
shell: bash
5047
run: npm run check-format
5148

5249
- name: Lint
5350
working-directory: packages/sharing-smart-contract
54-
shell: bash
5551
run: npm run lint
5652

5753
- name: UML Diagrams
5854
working-directory: packages/sharing-smart-contract
59-
shell: bash
6055
run: npm run uml
6156

6257
- name: Static Analyzer
@@ -68,12 +63,10 @@ jobs:
6863
target: 'packages/sharing-smart-contract/'
6964

7065
- name: Start Anvil
71-
shell: bash
7266
run: |
7367
anvil --host 0.0.0.0 --port 8545 --hardfork berlin --fork-url https://bellecour.iex.ec --chain-id 134 --gas-limit 6700000 --gas-price 0 &
7468
7569
- name: Wait for Anvil to start
76-
shell: bash
7770
run: |
7871
timeout=30
7972
interval=1
@@ -91,33 +84,28 @@ jobs:
9184
9285
- name: Upgrade test
9386
working-directory: packages/sharing-smart-contract
94-
shell: bash
9587
run: npm run upgrade-local-fork -- --network local-bellecour-fork
9688

9789
# TODO check why the CI does not fail when the following error occurs
9890
# (when the RPC node is not available):
9991
# 1) Uncaught error outside test suite
10092
- name: Hardhat tests
10193
working-directory: packages/sharing-smart-contract
102-
shell: bash
10394
run: npm run test -- --network local-bellecour-fork
10495

10596
- name: Test deployment script
10697
working-directory: packages/sharing-smart-contract
107-
shell: bash
10898
run: |
10999
POCO_ADDRESS=0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f \
110100
DATASET_REGISTRY_ADDRESS=0x799DAa22654128d0C64d5b79eac9283008158730 \
111101
npm run deploy -- --network local-bellecour-fork
112102
113103
- name: Set Directory Permissions
114104
working-directory: packages/sharing-smart-contract
115-
shell: bash
116105
run: sudo chmod -R 777 .
117106

118107
- name: Forge Tests
119108
working-directory: packages/sharing-smart-contract
120-
shell: bash
121109
run: forge test --no-match-test "invariant" -vvvv
122110

123111
- name: Upload SARIF file

0 commit comments

Comments
 (0)