Skip to content

Commit

Permalink
Add foundry to e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferret-san committed Nov 6, 2024
1 parent 77bb944 commit ae06140
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/cannon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,9 @@ jobs:
steps:
- uses: actions/checkout@v4

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

- name: Create directories
run: |
mkdir -p packages/contracts-bedrock/{artifacts,forge-artifacts,cache}
Expand All @@ -222,6 +225,28 @@ jobs:
name: prestate-artifacts
path: op-program/bin

# Add Go installation since op-e2e tests are in Go
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.21"

# Install any required Go dependencies
- name: Install Go dependencies
run: |
go mod download
# Debug step to verify forge installation and environment
- name: Debug environment
run: |
echo "Foundry version:"
forge --version
echo "Go version:"
go version
echo "Directory structure:"
ls -R packages/contracts-bedrock/
ls -R op-program/bin/
- name: Run cannon tests
working-directory: op-e2e
run: |
Expand Down

0 comments on commit ae06140

Please sign in to comment.