mirror of
https://github.com/placeholder-soft/tokenbound.git
synced 2026-01-12 08:44:20 +08:00
* Updated MinimalProxyStore assembly to allow storage up to max contract size * enable PR CI runs * updated ci * more ci config * fix ci tests for context overflow * removed unnecessary contextSize param from getContext
36 lines
714 B
YAML
36 lines
714 B
YAML
name: test
|
|
|
|
on: [pull_request]
|
|
|
|
env:
|
|
FOUNDRY_PROFILE: ci
|
|
|
|
jobs:
|
|
check:
|
|
strategy:
|
|
fail-fast: true
|
|
|
|
name: Foundry project
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
|
|
- name: Install Foundry
|
|
uses: foundry-rs/foundry-toolchain@v1
|
|
with:
|
|
version: nightly
|
|
|
|
- name: Run Forge build
|
|
run: |
|
|
forge --version
|
|
forge build --sizes
|
|
id: build
|
|
|
|
- name: Run Forge tests
|
|
run: |
|
|
forge test -vvv --no-match-test testCannotOverflowContext
|
|
forge test -vvv --match-test testCannotOverflowContext --code-size-limit 24576
|
|
id: test
|