Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Add loggers with additional info for QBO connection #784

Add loggers with additional info for QBO connection

Add loggers with additional info for QBO connection #784

Workflow file for this run

name: Unit test
on:
pull_request:
types: [assigned, opened, synchronize, reopened]
jobs:
unit-test:
permissions: write-all
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: TypeScript Lint GitHub Action
uses: actions/setup-node@v1
with:
node-version: 16.13
- name: Install dependencies
run: npm install
- name: Test
run: npm run unit_test_ci
env:
FYLE_CLIENT_ID: ${{secrets.FYLE_CLIENT_ID}}
CALLBACK_URL: ${{secrets.CALLBACK_URL}}
API_URL: ${{secrets.API_URL}}
APP_URL: ${{secrets.APP_URL}}
QBO_CLIENT_ID: ${{secrets.QBO_CLIENT_ID}}
QBO_SCOPE: ${{secrets.QBO_SCOPE}}
QBO_AUTHORIZE_URI: ${{secrets.QBO_AUTHORIZE_URI}}
QBO_APP_URL: ${{secrets.QBO_APP_URL}}
SENTRY_DSN: ${{secrets.SENTRY_DSN}}
RELEASE: ${{secrets.RELEASE}}
FYLE_APP_URL: ${{secrets.FYLE_APP_URL}}
TESTS_WORKSPACEID: ${{secrets.TESTS_WORKSPACEID}}
- name: Unit Test Coverage
uses: fylein/comment-test-coverage@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
path: coverage/coverage-summary.json
title: Unit Test Coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3