docs: update readme #2
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
on: ["push", "pull_request"] | |
name: Test Coveralls with workspace | |
jobs: | |
test-coverage: | |
name: Generate coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
repository: biothings/bte-trapi-workspace | |
- 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 i || true && npm i | |
npm run test-cov --workspace=@biothings-explorer/bte-trapi | |
- name: Send coverage report to coveralls for visualization | |
uses: coverallsapp/github-action@v1.1.1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
base-path: ./packages/@biothings-explorer/bte-trapi | |
path-to-lcov: ./packages/@biothings-explorer/bte-trapi/coverage/lcov.info |