Bump contracts/lib/teleporter from 6ba4656
to 03b2a6c
#28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
solidity-unit-tests: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
run: ./scripts/install_foundry.sh | |
- name: Run unit tests | |
run: | | |
export PATH=$PATH:$HOME/.foundry/bin | |
cd contracts/ | |
forge test -vvv | |
e2e_tests: | |
name: e2e_tests | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repositories and submodules | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Set Go version | |
run: | | |
source ./scripts/versions.sh | |
echo GO_VERSION=$GO_VERSION >> $GITHUB_ENV | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Install Foundry | |
run: ./scripts/install_foundry.sh | |
- name: Run E2E Tests | |
# Forge installs to BASE_DIR, but updates the PATH definition in $HOME/.bashrc | |
run: | | |
export PATH=$PATH:$HOME/.foundry/bin | |
export PATH="$PATH:$GOPATH/bin" | |
./scripts/e2e_test.sh |