Skip to content

Commit 0c2f2e7

Browse files
committed
Fix tests on the CI
1 parent 8dac743 commit 0c2f2e7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,11 @@ jobs:
8383
echo "Error: Anvil did not start within the timeout period."
8484
exit 1
8585
86+
# TODO check why the CI does not fail when the following error occurs:
87+
# 1) Uncaught error outside test suite
8688
- name: Hardhat Tests
8789
working-directory: packages/sharing-smart-contract
90+
# TODO run tests on hardhat forked network without using anvil.
8891
run: npm run test -- --network ci-bellecour-fork
8992

9093
- name: Upgrade Test

packages/sharing-smart-contract/hardhat.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = {
3434
},
3535
'ci-bellecour-fork': {
3636
...bellecourBase,
37-
url: 'http://bellecour-fork:8545',
37+
url: 'http://localhost:8545',
3838
},
3939
bellecour: {
4040
...bellecourBase,

0 commit comments

Comments
 (0)