Skip to content

Commit 2793b1b

Browse files
committed
chore: testing
1 parent ef3a64c commit 2793b1b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/contracts-testing.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ jobs:
7373
- name: Install contracts dependencies
7474
run: yarn workspace @kleros/kleros-v2-contracts install
7575

76-
- name: Install Foundry
77-
uses: foundry-rs/foundry-toolchain@de808b1eea699e761c404bda44ba8f21aba30b2c # v1.3.1
78-
7976
- name: Run Hardhat tests
8077
run: yarn test
8178
working-directory: contracts
@@ -137,5 +134,9 @@ jobs:
137134
uses: foundry-rs/foundry-toolchain@82dee4ba654bd2146511f85f0d013af94670c4de # v1.4.0
138135

139136
- name: Run Foundry tests
140-
run: forge test
137+
run: cd contracts && forge test
138+
# working-directory: contracts
139+
140+
- name: Run snapshot
141+
run: NO_COLOR=1 forge snapshot >> $GITHUB_STEP_SUMMARY
141142
working-directory: contracts

0 commit comments

Comments
 (0)