Skip to content

Commit

Permalink
Chore: Add install_foundry script and
Browse files Browse the repository at this point in the history
  • Loading branch information
ajimeno04 committed Aug 13, 2024
1 parent bb7ef83 commit 2e060b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ jobs:

- name: Start Redis container
run: |
docker run -d --name redis-test-container -p 6379:6379 redis:latest
- name: Build Relayer Docker image
run: docker build -t relayer-test-image -f deployments/ci/Dockerfile.tests .
echo "Installing Foundry and anvil"
curl -L https://foundry.paradigm.xyz | bash
foundryup
- name: Run tests inside Docker container
run: |
Expand Down
3 changes: 2 additions & 1 deletion deployments/ci/install_foundry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ fi

# Verify installation
echo "Verifying Foundry installation"
if command -v foundryup >/dev/null 2>&1; then
if command -v foundryup >/dev/n
ull 2>&1; then
echo "Foundry installed successfully!"
source /home/runner/.bashrc
foundryup --version
Expand Down

0 comments on commit 2e060b7

Please sign in to comment.