Skip to content

Commit bdd8752

Browse files
committed
Switch to the Coveralls Action (#29478)
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
1 parent e0a2d58 commit bdd8752

File tree

3 files changed

+5
-47
lines changed

3 files changed

+5
-47
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ jobs:
6969
if: matrix.node == 8
7070

7171
- name: Run Coveralls
72-
run: npm run coveralls
73-
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
74-
env:
75-
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
76-
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
72+
uses: coverallsapp/github-action@master
73+
if: matrix.node == 8
74+
with:
75+
github-token: "${{ secrets.GITHUB_TOKEN }}"
76+
path-to-lcov: "./js/coverage/lcov.info"

package-lock.json

Lines changed: 0 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
6666
"js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
6767
"lint": "npm-run-all --parallel js-lint css-lint",
68-
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
6968
"docs": "npm-run-all css-docs js-docs docs-compile docs-lint",
7069
"docs-compile": "bundle exec jekyll build",
7170
"docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile",
@@ -114,7 +113,6 @@
114113
"broken-link-checker": "^0.7.8",
115114
"bundlesize": "^0.18.0",
116115
"clean-css-cli": "^4.3.0",
117-
"coveralls": "^3.0.7",
118116
"cross-env": "^5.2.1",
119117
"eslint": "^5.16.0",
120118
"find-unused-sass-variables": "^0.6.0",

0 commit comments

Comments
 (0)