fix: AllowanceModule start-delay semantics and Safe module diagnostics #132
Workflow file for this run
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
| # ============================================ | |
| # Integration Tests | |
| # ============================================ | |
| # Spins up an anvil fork + voltaire bundler per chain (see | |
| # test/integration/chains.cjs) and runs the integration suite against them. | |
| name: Integration | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| branches: [dev, main] | |
| push: | |
| branches: [dev, main] | |
| concurrency: | |
| group: integration-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration: | |
| name: integration | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [20] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: "yarn" | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Build | |
| run: yarn build | |
| # Cache the foundry + voltaire images as a tarball between runs. | |
| # Bump the key when either tag in test/integration/globalSetup.cjs changes. | |
| - name: Cache Docker images | |
| id: docker-cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: /tmp/integration-images.tar | |
| key: integration-images-foundry-v1.7.1-voltaire-0.1.0a72 | |
| - name: Pull and save images (cache miss) | |
| if: steps.docker-cache.outputs.cache-hit != 'true' | |
| run: | | |
| docker pull ghcr.io/foundry-rs/foundry:v1.7.1 | |
| docker pull ghcr.io/candidelabs/voltaire/voltaire-bundler:0.1.0a72 | |
| docker save -o /tmp/integration-images.tar \ | |
| ghcr.io/foundry-rs/foundry:v1.7.1 \ | |
| ghcr.io/candidelabs/voltaire/voltaire-bundler:0.1.0a72 | |
| - name: Load images (cache hit) | |
| if: steps.docker-cache.outputs.cache-hit == 'true' | |
| run: docker load -i /tmp/integration-images.tar | |
| - name: Integration tests | |
| run: yarn test:integration | |
| env: | |
| ETHEREUM_RPC: ${{ secrets.ETHEREUM_RPC }} | |
| OPTIMISM_RPC: ${{ secrets.OPTIMISM_RPC }} |