Skip to content

Deploy scripts for UniV3Zap and the matching engine (#1224) #3342

Deploy scripts for UniV3Zap and the matching engine (#1224)

Deploy scripts for UniV3Zap and the matching engine (#1224) #3342

Workflow file for this run

name: Codegen Test
on:
push:
pull_request:
merge_group:
jobs:
detect-changes:
uses: ./.github/workflows/check_diff.yaml
with:
pattern: ^codegen.*
test:
name: codegen test
runs-on: ubuntu-latest
needs: detect-changes
if: needs.detect-changes.outputs.changed == 'true'
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}
- name: install foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: set up python
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: "pip"
token: ${{github.token}}
- name: install requirements
run: |
pip install -e codegen
- name: test
run: ./codegen/test/test.sh