refactor: remove isNative from token data, test wrapped sol #4307
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- "*" | |
types: | |
- opened | |
- synchronize | |
- ready_for_review | |
- reopened | |
name: light-sdk-tests | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
light-sdk-tests: | |
name: light-sdk-tests | |
if: github.event.pull_request.draft == false | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- name: sdk-tests-light-rpc-cli | |
sub-tests: '[ | |
"@lightprotocol/circuit-lib.js", | |
"@lightprotocol/prover.js", | |
]' | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup and build | |
uses: ./.github/actions/setup-and-build | |
- name: Build CLI | |
run: | | |
source ./scripts/devenv.sh | |
npx nx build @lightprotocol/zk-compression-cli | |
- name: ${{ matrix.name }} | |
run: | | |
source ./scripts/devenv.sh | |
IFS=', ' read -r -a sub_tests <<< "${{ join(fromJSON(matrix['sub-tests']), ', ') }}" | |
for subtest in "${sub_tests[@]}" | |
do | |
npx nx test "$subtest" | |
done |