|
71 | 71 | FOUNDRY_PROFILE: ${{ matrix.suite == 'Fork' && 'forktest' || 'medium' }}
|
72 | 72 | RPC_MAINNET: https://billowing-capable-sound.quiknode.pro/
|
73 | 73 |
|
74 |
| - # ----------------------------------------------------------------------- |
75 |
| - # Forge Test (Intense) |
76 |
| - # ----------------------------------------------------------------------- |
77 |
| - |
78 |
| - continuous-fuzzing: |
79 |
| - name: Test (Intense) |
80 |
| - runs-on: protocol-x64-16core |
81 |
| - # Only run on push events to main branch, not on PR events |
82 |
| - if: github.event_name == 'push' && github.ref == 'refs/heads/main' |
83 |
| - strategy: |
84 |
| - fail-fast: true |
85 |
| - steps: |
86 |
| - # Check out repository with all submodules for complete codebase access. |
87 |
| - - uses: actions/checkout@v4 |
88 |
| - with: |
89 |
| - submodules: recursive |
90 |
| - |
91 |
| - # Restore Forge cache |
92 |
| - - name: Cache Forge Build |
93 |
| - uses: actions/cache@v3 |
94 |
| - with: |
95 |
| - path: | |
96 |
| - cache/ |
97 |
| - out/ |
98 |
| - key: ${{ runner.os }}-forge-${{ hashFiles('**/foundry.toml', '**/remappings.txt', 'src/**/*.sol', 'lib/**/*.sol') }} |
99 |
| - restore-keys: | |
100 |
| - ${{ runner.os }}-forge- |
101 |
| -
|
102 |
| - # Install the Foundry toolchain. |
103 |
| - - name: "Install Foundry" |
104 |
| - uses: foundry-rs/foundry-toolchain@v1 |
105 |
| - with: |
106 |
| - version: stable |
107 |
| - |
108 |
| - # Build the project and display contract sizes. |
109 |
| - - name: "Forge Build" |
110 |
| - run: | |
111 |
| - forge --version |
112 |
| - forge build --sizes |
113 |
| - id: build |
114 |
| - |
115 |
| - # Run Forge Test (Intense) |
116 |
| - - name: Forge Test (Intense) |
117 |
| - run: | |
118 |
| - echo -e "\033[1;33mWarning: This workflow may take several hours to complete.\033[0m" |
119 |
| - echo -e "\033[1;33mThis intense fuzzing workflow is optional but helps catch edge cases through extended testing.\033[0m" |
120 |
| - FOUNDRY_PROFILE=intense forge test -vvv |
121 |
| -
|
122 | 74 | # -----------------------------------------------------------------------
|
123 | 75 | # Forge Storage Diff
|
124 | 76 | # -----------------------------------------------------------------------
|
|
0 commit comments