diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ca8dc3c..8363d888 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/packages/squiggle-lang/package.json b/packages/squiggle-lang/package.json index 044edfe3..e9a109c7 100644 --- a/packages/squiggle-lang/package.json +++ b/packages/squiggle-lang/package.json @@ -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",