Skip to content

Commit

Permalink
fix: revert ci changes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeuralFlux committed Aug 28, 2024
1 parent e1ed202 commit 18045b5
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/test_ws_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,11 @@ jobs:
id: branch-name
uses: tj-actions/branch-names@v6

- name: Checkout to specific branch
uses: actions/checkout@v3
id: specific-checkout
continue-on-error: true
- uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
ref: ${{ steps.branch-name.outputs.current_branch }}

- name: Checkout to main if above failed
if: steps.specific-checkout.outcome == 'failure'
uses: actions/checkout@v3
with:
repository: biothings/biothings_explorer
ref: main

- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
Expand All @@ -43,12 +33,11 @@ jobs:
pnpm run clone
pnpm run git checkout ${{ steps.branch-name.outputs.current_branch }}
pnpm i
DEBUG=bte* pnpm --filter bte-server test -- --silent=false --verbose
pnpm --filter bte-server test-cov
- name: Send coverage report to codecov for visualization
uses: codecov/codecov-action@v3
with:
working-directory: ./packages/@biothings-explorer/bte-server
# working-directory: ./packages/@biothings-explorer/bte-trapi
files: ./coverage/lcov.info
verbose: true
verbose: true

0 comments on commit 18045b5

Please sign in to comment.