Skip to content

Commit

Permalink
Merge branch 'fix-846-bte' of https://github.com/biothings/bte-server
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
tokebe committed Aug 19, 2024
2 parents 339d8df + 9eb1cc1 commit 4532739
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/test_ws_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,21 @@ jobs:
id: branch-name
uses: tj-actions/branch-names@v6

- uses: actions/checkout@v3
- name: Checkout to specific branch
uses: actions/checkout@v3
id: specific-checkout
continue-on-error: true
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 @@ -38,6 +48,6 @@ jobs:
- name: Send coverage report to codecov for visualization
uses: codecov/codecov-action@v3
with:
# working-directory: ./packages/@biothings-explorer/bte-trapi
working-directory: ./packages/@biothings-explorer/bte-server
files: ./coverage/lcov.info
verbose: true
4 changes: 2 additions & 2 deletions __test__/integration/TRAPIv1.1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ describe("Testing v1.1 endpoints", () => {
expect.arrayContaining([
expect.objectContaining({
subject: "biolink:SmallMolecule",
predicate: "biolink:treats",
predicate: "biolink:contributes_to",
object: "biolink:Disease",
}),
]),
Expand Down Expand Up @@ -133,7 +133,7 @@ describe("Testing v1.1 endpoints", () => {
expect.arrayContaining([
expect.objectContaining({
subject: "biolink:SmallMolecule",
predicate: "biolink:treats",
predicate: "biolink:contributes_to",
object: "biolink:Disease",
}),
]),
Expand Down

0 comments on commit 4532739

Please sign in to comment.