Skip to content

Commit

Permalink
chore: add BASE_RPC_URL environment variable to unit tests (#1743)
Browse files Browse the repository at this point in the history
This update ensures that the BASE_RPC_URL secret is available during the
execution of unit tests in the CI workflow. Including this environment
variable is necessary for tests that depend on a specific RPC endpoint
configuration.
  • Loading branch information
shuhuiluo authored Dec 6, 2024
1 parent 4028e76 commit 0911af0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ jobs:
- name: Unit Tests
if: ${{ !cancelled() && steps.setup_success.outcome == 'success' && steps.ts_build.outcome == 'success' }}
run: yarn test:unit
env:
BASE_RPC_URL: ${{ secrets.BASE_RPC_URL }}
Multinode:
permissions: write-all
if: github.event_name != 'workflow_dispatch' || !inputs.skip_multinode
Expand Down

0 comments on commit 0911af0

Please sign in to comment.