Skip to content

Commit

Permalink
ci(htlc): add foundry setup and tests
Browse files Browse the repository at this point in the history
Signed-off-by: Rafael Belchior <rafael.belchior@tecnico.ulisboa.pt>
  • Loading branch information
RafaelAPB committed May 23, 2023
1 parent 0100bb5 commit 9c0e1e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,17 @@ jobs:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Foundry project
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1

- name: Run solidity tests
run: cd packages/cactus-plugin-htlc-eth-besu && forge test -vvvvv

- run: ./tools/ci.sh
cactus-test-plugin-htlc-eth-besu-erc20:
continue-on-error: false
Expand Down
3 changes: 2 additions & 1 deletion packages/cactus-plugin-htlc-eth-besu/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.env
cache
lib
vendor
vendor
.gas-snapshot

0 comments on commit 9c0e1e6

Please sign in to comment.