MP-2692 add codecov reporting (#191)
This commit is contained in:
parent
5c01ec6872
commit
b410619bef
12
.github/workflows/test-runner.yaml
vendored
12
.github/workflows/test-runner.yaml
vendored
@ -8,6 +8,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
name: Tests and Codecov
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@ -16,5 +17,12 @@ jobs:
|
|||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '20.x'
|
node-version: '20.x'
|
||||||
- run: yarn
|
- name: Install dependencies
|
||||||
- run: yarn test
|
run: yarn
|
||||||
|
- name: Run tests
|
||||||
|
run: yarn test
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
files: coverage/lcov.info
|
||||||
|
Loading…
Reference in New Issue
Block a user