Skip to content

fix: pubtator store loading with missing hgnc id (#243) (#244) #605

fix: pubtator store loading with missing hgnc id (#243) (#244)

fix: pubtator store loading with missing hgnc id (#243) (#244) #605

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Cancel-Previous:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- uses: khan/[email protected]
with:
workflows: "python.yml"
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
Lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Set up node 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
cache-dependency-path: |
package-lock.json
- name: Install deps
run: make deps
- name: Lint source code
run: make lint
Test:
runs-on: ubuntu-latest
needs:
- Lint
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
lfs: 'true'
- name: Set up node 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
cache-dependency-path: |
package-lock.json
- name: Install dependencies
run: make deps
- name: Run tests
run: make test-ci
- name: Upload frontend coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}