-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update Starknet SDK test workflows #2618
base: main
Are you sure you want to change the base?
Conversation
- ci-cd-pipeline.yml: Update branch trigger to 'wojciechos/update-sdk-tests' - starknet-go-tests.yml: - Remove hardcoded commit reference in favor of using v0.7.3 tag - Remove skipped test 'TestBlockWithReceipts' - starknet-js-tests.yml: - Update starknet.js version from v6.14.1 to v6.23.1 - starknet-rs-tests.yml: - Update starknet-rs version from v0.12.0 to v0.13.0 - Remove skipped test 'jsonrpc_get_block_with_receipts' These updates ensure compatibility with the latest SDK versions and enable previously skipped tests, improving test coverage.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2618 +/- ##
==========================================
- Coverage 74.82% 74.74% -0.08%
==========================================
Files 139 139
Lines 16732 16732
==========================================
- Hits 12519 12507 -12
- Misses 3381 3390 +9
- Partials 832 835 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
@@ -25,7 +25,7 @@ jobs: | |||
|
|||
- name: Run jsonrpc tests | |||
run: | | |||
cd starknet-providers && cargo test jsonrpc -- --skip jsonrpc_get_block_with_receipts | |||
cd starknet-providers && cargo test jsonrpc | |||
cd ../starknet-accounts && cargo test jsonrpc -- --skip can_declare_cairo0_contract_with_jsonrpc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't we wanna un-skip that test too ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh yeah okay we can't declare cairo 0 contract anymore. And the test is preceded by: #[ignore = "Cairo 0 contract declaration has been blocked"]
The I checked it and from what i've seen, I created a test account, funded it, ran the test with my account and it works with no problem. |
Fixes issue #2556
These updates ensure compatibility with the latest SDK versions and enable previously skipped tests, improving test coverage.