Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fborello-lambda committed Jan 30, 2025
1 parent 2fdbbbb commit 33b3698
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 5 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci_levm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:

jobs:
ef-test:
name: Integration Test
name: EF Tests Check
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions crates/vm/levm/src/vm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 33b3698

Please sign in to comment.