Skip to content

Commit

Permalink
ci: update github actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tokebe committed Oct 20, 2023
1 parent 4752281 commit 72ec005
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 133 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/coverage.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .github/workflows/coverage_ws.yml

This file was deleted.

25 changes: 0 additions & 25 deletions .github/workflows/test_ws.yml

This file was deleted.

21 changes: 13 additions & 8 deletions .github/workflows/test_ws_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ jobs:
with:
repository: biothings/biothings_explorer

- name: Use Node.js 16.x
uses: actions/setup-node@v1
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x

- name: npm install, generate coverage report
- name: Use pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: pnpm 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
pnpm run clone
pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }}
pnpm ci
pnpm --filter query_graph_handler test-cov
- name: Send coverage report to codecov for visualization
uses: codecov/codecov-action@v3
Expand Down

0 comments on commit 72ec005

Please sign in to comment.