Merge pull request #231 from quantified-uncertainty/codecov

`coverage:ci` - `Codecov` service
This commit is contained in:
Quinn 2022-04-11 20:42:32 -04:00 committed by GitHub
commit c40b244b89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -74,6 +74,8 @@ jobs:
run: yarn test
- name: Run webpack
run: yarn bundle
- name: Upload coverage report
run: yarn coverage:ci
components-lint:
name: Components lint

View File

@ -11,6 +11,7 @@
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "rm -f *.coverage; yarn clean; BISECT_ENABLE=yes yarn build; yarn test; bisect-ppx-report html",
"coverage:ci": "yarn clean; BISECT_ENABLE=yes yarn build; yarn test; bisect-ppx-report send-to Codecov",
"lint:rescript": "./lint.sh",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:rescript && yarn lint:prettier",