MP-2692 add codecov reporting (#191)

This commit is contained in:
Yusuf Seyrek
2023-05-11 11:45:19 +02:00
committed by GitHub
parent 5c01ec6872
commit b410619bef
+10 -2
View File
@@ -8,6 +8,7 @@ on:
jobs:
build:
name: Tests and Codecov
runs-on: ubuntu-latest
steps:
@@ -16,5 +17,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: yarn
- run: yarn test
- name: Install dependencies
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