Skip to content

Commit

Permalink
Update starknet.go tests and merge with main
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechos committed Oct 17, 2024
1 parent f4d9d69 commit 99da1b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

on:
push:
branches: [main]
branches: [main, wojciechos/tests-update]
tags: ["v*"]
workflow_dispatch:

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
needs: [validate_dev]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.DEV_SEPOLIA_URL }}/v0_7

dev-starknet-js-tests:
needs: [validate_dev]
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
needs: [promote_to_staging]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.STAGING_SEPOLIA_URL }}/v0_7

staging-starknet-js-tests:
needs: [promote_to_staging]
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
needs: [test_in_production]
uses: ./.github/workflows/starknet-rs-tests.yml
secrets:
STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_6
STARKNET_RPC: ${{ secrets.PROD_SEPOLIA_URL }}/v0_7

prod-starknet-js-tests:
needs: [test_in_production]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starknet-go-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
ref:
description: 'The branch, tag or SHA to checkout'
required: false
default: 'v0.7.2'
default: '593313d1eda42a8e4b428652bddb5d77fc62faf3'
type: string
secrets:
TEST_RPC_URL:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/starknet-js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: starknet-io/starknet.js
ref: v6.6.6
ref: v6.14.1

- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -29,7 +29,7 @@ jobs:
run: npm ci

- name: Run tests
run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*declare Sierra 1.5.0).*$"
run: npm test -- rpcProvider.test.ts transactionReceipt.test.ts rpcChannel.test.ts defaultProvider.test.ts contract.test.ts cairo1v2.test.ts cairo1v2_typed.test.ts cairo1.test.ts account.test.ts account.starknetId.test.ts --testNamePattern="^(?!.*(declare Sierra 1.5.0|getSyncingStats)).*$"
env:
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_ACCOUNT_ADDRESS: ${{ secrets.TEST_ACCOUNT_ADDRESS }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/starknet-rs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: xJonathanLEI/starknet-rs
ref: starknet-providers/v0.10.0
ref: starknet/v0.12.0

- name: Setup Rust
uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 99da1b4

Please sign in to comment.