Skip to content

Complete unit test coverage for upgradeable renouncable proxy #115

Complete unit test coverage for upgradeable renouncable proxy

Complete unit test coverage for upgradeable renouncable proxy #115

Workflow file for this run

name: test
on:
push:
branches: [ master, develop, beta, candidate/stable ]
pull_request:
branches: [ master, develop, beta, candidate/stable ]
workflow_dispatch:
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: Check Code Formatting
run: |
forge fmt --check
id: formatting
- name: Run Forge build
run: |
forge --version
forge build
id: build
- name: Run Forge tests
run: |
forge test -vvv
id: test
- name: Print compiled non-test contract sizes
run: |
forge build --skip test --sizes
id: build-sizes
- name: Print gas difference against a pre-existing snapshot
run: |
forge snapshot --diff
id: gas-diff