Skip to content

Commit 058eb2f

Browse files
committed
.github/test-pr, package/test-package: try moving foundry installation into test-package script
1 parent b3d7261 commit 058eb2f

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/test-pr.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,5 @@ jobs:
138138
with:
139139
name: k-framework
140140
authToken: '${{ secrets.CACHIX_PUBLIC_TOKEN }}'
141-
- name: 'Install Foundry'
142-
run: |
143-
curl -L https://foundry.paradigm.xyz | bash
144-
export PATH=$HOME/.foundry/bin:$PATH
145-
foundryup
146141
- name: 'Test KEVM'
147-
run: |
148-
export PATH=$HOME/.foundry/bin:$PATH
149-
GC_DONT_GC=1 nix build .#kevm-test
142+
run: GC_DONT_GC=1 nix build .#kevm-test

package/test-package.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,9 @@ kevm prove tests/specs/erc20/ds/transfer-failure-1-a-spec.k --backend java --for
4949
--definition tests/specs/erc20/verification/java
5050
fi
5151

52+
curl -L https://foundry.paradigm.xyz | bash
53+
export PATH=$HOME/.foundry/bin:$PATH
54+
foundryup
55+
5256
cd tests/foundry
5357
./test-foundry.sh

0 commit comments

Comments
 (0)