Skip to content

Commit dcf21a4

Browse files
committed
Uncomment
1 parent 1514499 commit dcf21a4

File tree

1 file changed

+31
-31
lines changed

1 file changed

+31
-31
lines changed

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

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Sharing Smart Contract - Build and test
1+
name: Sharing Smart Contract - Reusable
22

33
on:
44
workflow_call:
@@ -94,33 +94,33 @@ jobs:
9494
shell: bash
9595
run: npm run upgrade-local-fork -- --network local-bellecour-fork
9696

97-
# # TODO check why the CI does not fail when the following error occurs
98-
# # (when the RPC node is not available):
99-
# # 1) Uncaught error outside test suite
100-
# - name: Hardhat tests
101-
# working-directory: packages/sharing-smart-contract
102-
# shell: bash
103-
# run: npm run test -- --network local-bellecour-fork
104-
105-
# - name: Test deployment script
106-
# working-directory: packages/sharing-smart-contract
107-
# shell: bash
108-
# run: |
109-
# POCO_ADDRESS=0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f \
110-
# DATASET_REGISTRY_ADDRESS=0x799DAa22654128d0C64d5b79eac9283008158730 \
111-
# npm run deploy -- --network local-bellecour-fork
112-
113-
# - name: Set Directory Permissions
114-
# working-directory: packages/sharing-smart-contract
115-
# shell: bash
116-
# run: sudo chmod -R 777 .
117-
118-
# - name: Forge Tests
119-
# working-directory: packages/sharing-smart-contract
120-
# shell: bash
121-
# run: forge test --no-match-test "invariant" -vvvv
122-
123-
# - name: Upload SARIF file
124-
# uses: github/codeql-action/upload-sarif@v3
125-
# with:
126-
# sarif_file: ${{ steps.slither.outputs.sarif }}
97+
# TODO check why the CI does not fail when the following error occurs
98+
# (when the RPC node is not available):
99+
# 1) Uncaught error outside test suite
100+
- name: Hardhat tests
101+
working-directory: packages/sharing-smart-contract
102+
shell: bash
103+
run: npm run test -- --network local-bellecour-fork
104+
105+
- name: Test deployment script
106+
working-directory: packages/sharing-smart-contract
107+
shell: bash
108+
run: |
109+
POCO_ADDRESS=0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f \
110+
DATASET_REGISTRY_ADDRESS=0x799DAa22654128d0C64d5b79eac9283008158730 \
111+
npm run deploy -- --network local-bellecour-fork
112+
113+
- name: Set Directory Permissions
114+
working-directory: packages/sharing-smart-contract
115+
shell: bash
116+
run: sudo chmod -R 777 .
117+
118+
- name: Forge Tests
119+
working-directory: packages/sharing-smart-contract
120+
shell: bash
121+
run: forge test --no-match-test "invariant" -vvvv
122+
123+
- name: Upload SARIF file
124+
uses: github/codeql-action/upload-sarif@v3
125+
with:
126+
sarif_file: ${{ steps.slither.outputs.sarif }}

0 commit comments

Comments
 (0)