[Certora] Allocations from adapters #2969
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Foundry | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| decimals: [0, 6, 8, 18, 24] | |
| runs-on: ubuntu-latest | |
| name: test (${{ matrix.decimals }} decimals) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install Foundry | |
| uses: foundry-rs/foundry-toolchain@v1 | |
| - name: Run forge fmt | |
| run: forge fmt --check | |
| - name: Run forge tests with a ${{ matrix.decimals }} decimals underlying asset | |
| run: forge test -vvv | |
| env: | |
| DECIMALS: ${{ matrix.decimals }} |