Skip to content

fix: transaction block id #7396

fix: transaction block id

fix: transaction block id #7396

Workflow file for this run

name: Test
on:
push:
branches:
- master
- develop
pull_request:
types:
- ready_for_review
- synchronize
- opened
jobs:
application:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/app
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-app
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test App
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES:
COVERAGE_INCLUDE_PATH: src/app/App*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/app/App*test*
- name: Test App (validations)
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES:
COVERAGE_INCLUDE_PATH: src/app/validations/*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/app/validations/*test*
- name: Test Context Providers (Ledger)
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/contexts/Ledger/*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/app/contexts/Ledger/*test*
- name: Test Context Providers (Configuration)
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/contexts/Configuration/*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/app/contexts/Configuration/*test*
- name: Test Context Providers (Environment)
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/contexts/Environment/*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/app/contexts/Environment/*test*
- name: Test Context Providers (Navigation)
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/contexts/Navigation/*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/contexts/Navigation/*test*
application-hooks:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/app
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-app-hooks
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test hooks ^a-f
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/hooks/use-[a-f]*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/hooks/use-[a-f]*test*
- name: Test hooks ^h-o
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/hooks/use-[h-o]*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/hooks/use-[h-o]*test*
- name: Test hooks ^p-s
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/hooks/use-[p-s]*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/hooks/use-[p-s]*test*
- name: Test hooks ^t-z
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/hooks/use-[t-z]*test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/hooks/use-[t-z]*test*
application-components:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/app/components
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-app-components
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test Components ^A-B
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[A-B]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[A-B]**/**test**
- name: Test Components ^C-D
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[C-D]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[C-D]**/**test*
- name: Test Components ^E-F
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[E-F]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[E-F]**/**test*
- name: Test Components ^G-L
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[G-L]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[G-L]**/**test*
- name: Test Components ^M-O
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[M-O]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[M-O]**/**test*
- name: Test Components ^P-R
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[P-R]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[P-R]**/**test*
- name: Test Components ^S-Z
env:
COVERAGE_THRESHOLD_LINES: 100
COVERAGE_THRESHOLD_FUNCTIONS: 100
COVERAGE_THRESHOLD_STATEMENTS: 100
COVERAGE_THRESHOLD_BRANCHES: 100
COVERAGE_INCLUDE_PATH: src/app/components/[S-Z]**/**test*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/app/components/[S-Z]**/**test*
domains-contact:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/contact
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-contact
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test (components)
env:
COVERAGE_THRESHOLD_LINES: 93.19
COVERAGE_THRESHOLD_FUNCTIONS: 96.15
COVERAGE_THRESHOLD_STATEMENTS: 93.5
COVERAGE_THRESHOLD_BRANCHES: 87.67
COVERAGE_INCLUDE_PATH: src/domains/contact/components
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/domains/contact/components
- name: Test (pages)
uses: nick-invision/retry@v2
env:
COVERAGE_INCLUDE_PATH: src/domains/contact/pages
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/domains/contact/pages
- name: Test (Validations)
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 2
command: pnpm test:coverage src/domains/contact/routing.test.ts src/domains/validations
domains-dashboard:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/dashboard
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-dashboard
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/dashboard
domains-error:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/error
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-error
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/error
domains-exchange:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/exchange
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-exchange
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/exchange
domains-message:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/message
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-message
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
env:
COVERAGE_THRESHOLD_LINES: 99.57
COVERAGE_THRESHOLD_FUNCTIONS: 98.3
COVERAGE_THRESHOLD_STATEMENTS: 99.6
COVERAGE_THRESHOLD_BRANCHES: 99.2
COVERAGE_INCLUDE_PATH: src/domains/message
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/message
domains-network:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/network
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-network
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/network
domains-profile:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/profile
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-profile
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
env:
COVERAGE_THRESHOLD_BRANCHES: 99.6
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/profile
domains-setting:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/setting
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-setting
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
env:
COVERAGE_THRESHOLD_BRANCHES: 99.45
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/setting
domains-transaction:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/transaction
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-transaction
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test Utils
env:
COVERAGE_THRESHOLD_LINES: 75
COVERAGE_THRESHOLD_FUNCTIONS: 69.23
COVERAGE_THRESHOLD_STATEMENTS: 79.41
COVERAGE_THRESHOLD_BRANCHES: 80
COVERAGE_INCLUDE_PATH: src/domains/transaction/utils.ts,src/domains/transaction/routing.ts
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/utils.test.ts src/domains/transaction/routing.test.ts
- name: Test Components ^A-O
env:
COVERAGE_THRESHOLD_LINES: 99.58
COVERAGE_THRESHOLD_FUNCTIONS: 99.48
COVERAGE_THRESHOLD_STATEMENTS: 99.6
COVERAGE_THRESHOLD_BRANCHES: 99.73
COVERAGE_INCLUDE_PATH: src/domains/transaction/components/[A-O]*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/components/[A-O]*
- name: Test Components ^P-S
env:
COVERAGE_THRESHOLD_LINES: 98.47
COVERAGE_THRESHOLD_FUNCTIONS: 97.61
COVERAGE_THRESHOLD_STATEMENTS: 98.58
COVERAGE_THRESHOLD_BRANCHES: 96.72
COVERAGE_INCLUDE_PATH: src/domains/transaction/components/[P-S]*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/components/[P-S]*
- name: Test Components ^T-Z
env:
COVERAGE_THRESHOLD_LINES: 99.33
COVERAGE_THRESHOLD_FUNCTIONS: 99
COVERAGE_THRESHOLD_STATEMENTS: 99.35
COVERAGE_THRESHOLD_BRANCHES: 98.71
COVERAGE_INCLUDE_PATH: src/domains/transaction/components/[T-Z]*
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/components/[T-Z]*
- name: Test Hooks
env:
COVERAGE_THRESHOLD_LINES: 93.61
COVERAGE_THRESHOLD_FUNCTIONS: 89.79
COVERAGE_THRESHOLD_STATEMENTS: 91.61
COVERAGE_THRESHOLD_BRANCHES: 83.72
COVERAGE_INCLUDE_PATH: src/domains/transaction/hooks
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/hooks
- name: Test Pages
env:
COVERAGE_THRESHOLD_LINES: 97.3
COVERAGE_THRESHOLD_FUNCTIONS: 96.4
COVERAGE_THRESHOLD_STATEMENTS: 97.8
COVERAGE_THRESHOLD_BRANCHES: 98.43
COVERAGE_INCLUDE_PATH: src/domains/transaction/pages
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/pages
- name: Test Validations
env:
COVERAGE_THRESHOLD_LINES: 88.03
COVERAGE_THRESHOLD_FUNCTIONS: 82.85
COVERAGE_THRESHOLD_STATEMENTS: 88.52
COVERAGE_THRESHOLD_BRANCHES: 86.41
COVERAGE_INCLUDE_PATH: src/domains/transaction/validations
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/transaction/validations
domains-vote:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/vote
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-vote
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
env:
COVERAGE_THRESHOLD_LINES: 98.67
COVERAGE_THRESHOLD_STATEMENTS: 98.73
COVERAGE_THRESHOLD_BRANCHES: 98.25
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/vote
domains-wallet:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/domains/wallet
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-domains-wallet
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
env:
COVERAGE_THRESHOLD_LINES: 99.93
COVERAGE_THRESHOLD_FUNCTIONS: 99.75
COVERAGE_THRESHOLD_STATEMENTS: 99.38
COVERAGE_THRESHOLD_BRANCHES: 99.38
COVERAGE_INCLUDE_PATH: src/domains/wallet
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/domains/wallet
router:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/router
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-router
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/router
utils:
runs-on: ubuntu-latest
env:
COVERAGE_INCLUDE_PATH: src/utils
COVERAGE_THRESHOLD_LINES: 49.13
COVERAGE_THRESHOLD_BRANCHES: 26.27
COVERAGE_THRESHOLD_FUNCTIONS: 24.5
COVERAGE_THRESHOLD_STATEMENTS: 45.61
strategy:
matrix:
node-version:
- 20.12.2
concurrency:
group: ${{ github.head_ref }}-test-utils
cancel-in-progress: true
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: pnpm/action-setup@v4
with:
version: 9
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Update System
run: sudo apt-get update
- name: Install (Ledger Requirements)
run: sudo apt-get install libudev-dev libusb-1.0-0-dev
- name: Install (pnpm)
run: pnpm install --frozen-lockfile
- name: Rebuild
run: pnpm rebuild
- name: Test
uses: nick-invision/retry@v2
with:
timeout_minutes: 10
max_attempts: 1
command: pnpm test:coverage src/utils