Skip to content

fix: custom port of maci-crypto functionality #651

fix: custom port of maci-crypto functionality

fix: custom port of maci-crypto functionality #651

on:
push:
branches:
- main
paths:
- "zk.js/**"
- "programs/**"
- "light-circuits/**"
- ".github/workflows/system-programs-tests.yml"
pull_request:
branches:
- main
paths:
- "zk.js/**"
- "programs/**"
- "light-circuits/**"
- ".github/workflows/system-programs-tests.yml"
types:
- opened
- synchronize
- reopened
- ready_for_review
name: system-programs-tests
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
system-programs:
name: system-programs
if: github.event.pull_request.draft == false
runs-on: buildjet-16vcpu-ubuntu-2204
strategy:
matrix:
include:
- test: system-programs-tests-transaction-user-verifiers-merkle-tree-provider
sub-tests: '["sp-functional", "sp-user", "sp-verifiers", "sp-merkle-tree", "sp-provider"]'
- test: system-programs-tests-user-merge
sub-tests: '["sp-user-merge", "zk.js"]'
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Setup and build
uses: ./.github/actions/setup-and-build
- name: ${{ matrix.test }}
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 "@lightprotocol/zk.js"
done