diff --git a/.github/workflows/ci_levm.yaml b/.github/workflows/ci_levm.yaml index 7496acb365..a7ffb12b27 100644 --- a/.github/workflows/ci_levm.yaml +++ b/.github/workflows/ci_levm.yaml @@ -18,7 +18,7 @@ env: jobs: ef-test: - name: Integration Test + name: EF Tests Check runs-on: ubuntu-latest steps: - name: Checkout sources @@ -66,7 +66,7 @@ jobs: # Check we don't have a regression against main hive-test: - name: Integration Test + name: Hive Tests Check needs: hive-report-creation runs-on: ubuntu-latest steps: @@ -107,6 +107,27 @@ jobs: exit 1 fi + # 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 + all-tests: + # "Integration Test" is a required check, don't change the name + name: Integration Test + runs-on: ubuntu-latest + needs: [hive-test, ef-test] + # Make sure this job runs even if the previous jobs failed or were skipped + if: ${{ always() && needs.hive-test.result != 'skipped' && needs.ef-test.result != 'skipped' }} + steps: + - name: Check if any job failed + run: | + if [ "${{ needs.hive-test.result }}" != "success" ]; then + echo "Job Hive Tests Check failed" + exit 1 + fi + + if [ "${{ needs.ef-test.result }}" != "success" ]; then + echo "Job EF Tests Check failed" + exit 1 + fi + test: # "Test" is a required check, don't change the name name: Test diff --git a/crates/vm/levm/src/vm.rs b/crates/vm/levm/src/vm.rs index 1faaab91c0..82f74fbf85 100644 --- a/crates/vm/levm/src/vm.rs +++ b/crates/vm/levm/src/vm.rs @@ -949,12 +949,11 @@ impl VM { } }; + // TESTING LEVM CI auth_account.info.bytecode = if auth_tuple.address != Address::zero() { - //test delegation_bytes.into() } else { - //Bytes::new() - delegation_bytes.into() + Bytes::new() }; // 9. Increase the nonce of authority by one.