Skip to content

Fix QueryResults and inferred_mode tests #494

Fix QueryResults and inferred_mode tests

Fix QueryResults and inferred_mode tests #494

on: ["push", "pull_request"]
name: Test in workspace
jobs:
test-coverage:
name: Generate coverage report
runs-on: ubuntu-latest
steps:
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v6
- uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
- name: Use Node.js 16.x
uses: actions/setup-node@v1
with:
node-version: 16.x
- name: npm install, generate coverage report
run: |
npm run clone
npm run git checkout ${{ steps.branch-name.outputs.current_branch }}
npm i || true && npm i
npm run test-cov --workspace=@biothings-explorer/query_graph_handler
- name: Send coverage report to codecov for visualization
uses: codecov/codecov-action@v3
with:
working-directory: ./packages/@biothings-explorer/query_graph_handler
files: ./coverage/lcov.info
verbose: true