-
Notifications
You must be signed in to change notification settings - Fork 6
41 lines (38 loc) · 1.26 KB
/
unit-test-utils.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: utils unit test
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
workflow_dispatch:
jobs:
unit-integration-tests:
name: Run utils unit tests, using keria:${{ matrix.keria-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 60
defaults:
run:
working-directory: signify-ts-test/
strategy:
matrix:
os: ["ubuntu-latest"]
keria-version: ["0.2.0-dev3"]
node-version: ["20"]
env:
KERIA_IMAGE_TAG: ${{ matrix.keria-version }}
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: install deps
run: |
npm cache clean --force
npm set registry https://registry.npmjs.org/
npm ci
- name: Build
run: npm run build
- name: reg-pilot unit and integration tests
run: npm test -- --runInBand --watchAll=false --runTestsByPath ./test/utils/*.test.ts
# run: npx jest ./test/run-workflow-bank.test.ts -- --bank-num "1" --max-report-size "0" --clean "false" --keria-start-port "3900"
# run: npx jest ./test/run-workflow-bank.test.ts --testNamePattern api-verifier-bank-test-workflow -- --bank-num "1" --max-report-size "0" --clean "false" --keria-start-port "3900"