chore(deps): Bump elliptic from 6.5.4 to 6.5.7 #4070
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
name: Functional Testing | |
on: | |
push: | |
branches: | |
- "master" | |
- "develop" | |
pull_request: | |
types: [ready_for_review, synchronize, opened] | |
permissions: | |
contents: read | |
jobs: | |
core-database: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/core-database/ --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
bridgechain-registration: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/bridgechain-registration.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
bridgechain-resignation: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/bridgechain-resignation.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
bridgechain-update: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/bridgechain-update.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
business-registration: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/business-registration.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
business-resignation: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/business-resignation.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
business-update: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/business-update.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
delegate-registration: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/delegate-registration.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
delegate-resignation: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/delegate-resignation.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
htlc-claim: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/htlc-claim.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
htlc-lock: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/htlc-lock.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
htlc-refund: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/htlc-refund.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
ipfs: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/ipfs.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
multi-payment: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/multi-payment.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
- name: Archive code coverage | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ github.job }}-coverage | |
path: .coverage/functional/${{ github.job }}/lcov.info | |
multi-signature-registration: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/multi-signature-registration.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
second-signature-registration: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/second-signature-registration.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
transfer: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/transfer.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
vote: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/vote.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
entity-register: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/entity-register.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
entity-resign: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/entity-resign.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark | |
entity-update: | |
runs-on: ubuntu-latest | |
services: | |
postgres: | |
image: postgres:12 | |
env: | |
POSTGRES_USER: ark | |
POSTGRES_PASSWORD: password | |
POSTGRES_DB: ark_unitnet | |
ports: | |
- 5432:5432 | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: ${{ runner.os }}-node- | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update system | |
run: sudo apt-get update -y | |
- name: Install xsel & postgresql-client | |
run: sudo apt-get install -q xsel postgresql-client | |
- name: Install and build packages | |
run: yarn setup | |
- name: Create .core/database directory | |
run: mkdir -p $HOME/.core/database | |
- name: Functional tests | |
run: yarn test __tests__/functional/transaction-forging/entity-update.test.ts --coverage --coverageDirectory .coverage/functional/${{ github.job }} | |
env: | |
CORE_DB_DATABASE: ark_unitnet | |
CORE_DB_USERNAME: ark |