@@ -17,9 +17,6 @@ concurrency:
1717permissions :
1818 pull-requests : write
1919
20- env :
21- CARGO_TERM_COLOR : always
22-
2320jobs :
2421 ef-test :
2522 if : ${{ github.event_name != 'merge_group' }}
@@ -199,86 +196,17 @@ jobs:
199196 Same results between main branch and the current PR.
200197 edit-mode : replace
201198
202- hive-report-creation :
203- uses : ./.github/workflows/common_hive_reports.yaml
204- with :
205- evm : levm
206- job_type : trigger
207-
208- hive-report-creation-main :
209- uses : ./.github/workflows/common_hive_reports.yaml
210- with :
211- evm : levm
212- job_type : main
213-
214- # Check we don't have a regression against main
215- hive-test :
216- if : ${{ github.event_name != 'merge_group' }}
217- name : Hive Tests Check
218- needs : [hive-report-creation, hive-report-creation-main]
219- runs-on : ubuntu-latest
220- steps :
221- - name : Checkout sources
222- uses : actions/checkout@v4
223-
224- - name : Download results (pr)
225- uses : actions/download-artifact@v4
226- with :
227- name : results_levm_trigger.md
228-
229- - name : Rename result (1)
230- run : |
231- cp results.md results_levm.md
232- echo "RESULTS:"
233- cat results_levm.md
234-
235- - name : Download results (main)
236- uses : actions/download-artifact@v4
237- with :
238- name : results_levm_main.md
239- # If we don't have the file it will use the result(1) file
240- continue-on-error : true
241-
242- - name : Rename result (2)
243- run : |
244- cp results.md results_levm_main.md
245- echo "RESULTS:"
246- cat results_levm_main.md
247-
248- - name : Create diff message
249- run : |
250- bash .github/scripts/hive_levm_revm_diff.sh results_levm_main.md results_levm.md >> diff.md
251- cat diff.md >> $GITHUB_STEP_SUMMARY
252- echo "SUMMARY:"
253- cat diff.md
254-
255- - name : Check Regression
256- run : |
257- if grep -q "No differences found" diff.md; then
258- echo "No differences found."
259- elif ! grep -q "regression" diff.md; then
260- echo "No regression found."
261- else
262- echo "Differences found."
263- exit 1
264- fi
265-
266199 # The purpose of this job is to add it as a required check in GitHub so that we don't have to add every individual job as a required check
267200 all-tests :
268201 # "Integration Test" is a required check, don't change the name
269202 name : Integration Test
270203 runs-on : ubuntu-latest
271- needs : [hive-test, ef-test]
204+ needs : [ef-test]
272205 # Make sure this job runs even if the previous jobs failed or were skipped
273- if : ${{ always() && needs.hive-test.result != 'skipped' && needs. ef-test.result != 'skipped' }}
206+ if : ${{ always() && needs.ef-test.result != 'skipped' }}
274207 steps :
275208 - name : Check if any job failed
276209 run : |
277- if [ "${{ needs.hive-test.result }}" != "success" ]; then
278- echo "Job Hive Tests Check failed"
279- exit 1
280- fi
281-
282210 if [ "${{ needs.ef-test.result }}" != "success" ]; then
283211 echo "Job EF Tests Check failed"
284212 exit 1
@@ -330,38 +258,3 @@ jobs:
330258 run : |
331259 cd crates/vm/levm
332260 make revm-comparison
333- lint :
334- # "Lint" is a required check, don't change the name
335- name : Lint
336- runs-on : ubuntu-latest
337- steps :
338- - name : Checkout sources
339- uses : actions/checkout@v4
340-
341- - name : Rustup toolchain install
342- uses : dtolnay/rust-toolchain@stable
343- with :
344- components : rustfmt, clippy
345-
346- - name : Add Rust Cache
347- uses : Swatinem/rust-cache@v2
348-
349- - name : Run cargo check
350- run : |
351- cd crates/vm/levm
352- cargo check
353-
354- - name : Run cargo build
355- run : |
356- cd crates/vm/levm
357- cargo build
358-
359- - name : Run cargo clippy
360- run : |
361- cd crates/vm/levm
362- cargo clippy --all-targets --all-features -- -D warnings
363-
364- - name : Run cargo fmt
365- run : |
366- cd crates/vm/levm
367- cargo fmt --all -- --check
0 commit comments