Skip to content

Commit ae4f26e

Browse files
committed
Remove upgrade tests as it interferes with local-fork script
1 parent 7afc0af commit ae4f26e

File tree

3 files changed

+12
-115
lines changed

3 files changed

+12
-115
lines changed

.github/workflows/sharing-smart-contract-test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,18 @@ jobs:
5555
working-directory: packages/sharing-smart-contract
5656
run: npm run uml
5757

58-
# - name: Static Analyzer
59-
# uses: crytic/[email protected]
60-
# id: slither
61-
# with:
62-
# sarif: result.sarif
63-
# fail-on: none
64-
# target: 'packages/sharing-smart-contract/'
58+
- name: Static Analyzer
59+
uses: crytic/[email protected]
60+
id: slither
61+
with:
62+
sarif: result.sarif
63+
fail-on: none
64+
target: 'packages/sharing-smart-contract/'
6565

6666
- name: Start Anvil
6767
run: |
6868
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 &
69+
6970
- name: Wait for Anvil to start
7071
run: |
7172
timeout=30
@@ -84,13 +85,13 @@ jobs:
8485
8586
# TODO check why the CI does not fail when the following error occurs:
8687
# 1) Uncaught error outside test suite
87-
# - name: Hardhat Tests
88-
# working-directory: packages/sharing-smart-contract
89-
# run: npm run test -- --network bellecour-fork # runs on local forked hardhat network
88+
- name: Hardhat Tests
89+
working-directory: packages/sharing-smart-contract
90+
run: npm run test -- --network bellecour-fork # runs on local forked hardhat network
9091

9192
- name: Upgrade Test
9293
working-directory: packages/sharing-smart-contract
93-
run: ls -al; npm run upgrade-local-fork -- --network bellecour-fork
94+
run: npm run upgrade-local-fork -- --network bellecour-fork
9495

9596
- name: Set Directory Permissions
9697
working-directory: packages/sharing-smart-contract

packages/sharing-smart-contract/contracts/__test/DataProtectorSharingV2Mock.sol

Lines changed: 0 additions & 51 deletions
This file was deleted.

packages/sharing-smart-contract/test/e2e/upgrade.test.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

0 commit comments

Comments
 (0)