Skip to content

fix: blockchain providers #1

fix: blockchain providers

fix: blockchain providers #1

name: Oracle rapid dry run test
on:
push:
paths:
- packages/oracle-node/**
- .github/workflows/oracle-rapid-dry-run-test.yml
jobs:
rapid-dry-run-test:
runs-on: self-hosted
timeout-minutes: 10
defaults:
run:
working-directory: packages/oracle-node
steps:
- uses: actions/checkout@v3
- name: Setup monorepo access
uses: redstone-finance/ssh-agent@v0.8.1
with:
ssh-private-key: ${{ secrets.MONOREPO_PRIVATE_KEY }}
- name: Install modules
run: yarn
- name: Build
run: yarn build
- name: Run dry run test
run: yarn test:rapid-dry-run 2>&1 | tee logs.log; test ${PIPESTATUS[0]} -eq 0
env:
NODE_ENV: test
COINGECKO_API_URL: https://pro-api.coingecko.com/api/v3/simple/price
COINGECKO_API_KEY: ${{ secrets.COINGECKO_API_KEY }}
SKIPPED_SOURCES: '["binance", "binancecoinm", "binanceusdm", "bybit", "kaiko", "kaiko-v2"]'
- name: Create summary
if: ${{ !cancelled() }}
run: scripts/filter-logs.sh logs.log >> $GITHUB_STEP_SUMMARY || true