Skip to content

fix: added current eras #1306

fix: added current eras

fix: added current eras #1306

Workflow file for this run

name: CI
on:
pull_request:
branches:
- master
jobs:
tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout source code
uses: actions/checkout@v2
- name: Free Diskspace
uses: ./.github/actions/free_disk_space
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 18
- name: Lint and test
working-directory: ./cardano-rosetta-server
run: |
yarn install --frozen-lockfile --loglevel=error
yarn lint
yarn test
env:
PORT: 8080
LOGGER_LEVEL: debug
LOGGER_ENABLED: true
BIND_ADDRESS: 127.0.0.1
DB_CONNECTION_STRING: postgresql://postgres:notForProduction!@127.0.0.1:5432/mainnet
TOPOLOGY_FILE_PATH: test/e2e/utils/topology-test.json
# PATHs should be strings and must exist
CARDANO_CLI_PATH: /tmp
CARDANO_NODE_PATH: /tmp
CARDANO_NODE_SOCKET_PATH: /tmp
GENESIS_SHELLEY_PATH: test/e2e/utils/mainnet-genesis.json
PAGE_SIZE: 5
DEFAULT_RELATIVE_TTL: 1000
- name: Build Cardano Rosetta
uses: ./.github/actions/build_cardano_rosetta
with:
build-context: ${{ github.workspace }}
tag: ${{ github.sha }}
- name: Postman Tests
uses: ./.github/actions/postman_tests_cardano_rosetta
with:
tag: ${{ github.sha }}