Skip to content

🚧

🚧 #1686

Workflow file for this run

name: test
on:
push:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
env:
OPTIMISM_RPC_URL: ${{ secrets.OPTIMISM_RPC_URL }}
EXPO_PUBLIC_ALCHEMY_API_KEY: test
EXPO_PUBLIC_ALCHEMY_GAS_POLICY_ID: test
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
with:
version: ">=9.14.2"
run_install: false
- uses: actions/setup-node@v4
with:
node-version: ">=22.11.0"
cache: pnpm
- uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly-25f24e677a6a32a62512ad4f561995589ac2c7dc
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
cache-dependency-path: contracts/requirements.txt
- run: pip install -r contracts/requirements.txt
- run: pnpm install --frozen-lockfile
- run: pnpm run --recursive --aggregate-output --no-bail build
- run: pnpm test --recursive --aggregate-output --no-bail
- uses: codecov/codecov-action@v4
if: ${{ !cancelled() }}
with:
token: ${{ secrets.CODECOV_TOKEN }}