Skip to content

addressing feedback #495

addressing feedback

addressing feedback #495

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/[email protected]
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