Skip to content

Update README.md

Update README.md #26

Workflow file for this run

name: Test Code Coverage
on:
push:
branches:
- main
jobs:
license-scan:
name: License Scan
runs-on: ubuntu-latest
steps:
- name: Checkout tree
uses: actions/checkout@v4
- name: Run FOSSA scan and upload build data
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: ${{ secrets.FOSSA_API }}
code-coverage:
name: Code Coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
working-directory: ./nanolims_app
run: npm install
- name: Run tests and collect coverage
working-directory: ./nanolims_app
run: npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3