Skip to content

Commit

Permalink
Switch to the Coveralls Action (#29478)
Browse files Browse the repository at this point in the history
This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
  • Loading branch information
XhmikosR committed Nov 25, 2019
1 parent e0a2d58 commit bdd8752
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 47 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ jobs:
if: matrix.node == 8

- name: Run Coveralls
run: npm run coveralls
if: matrix.node == 8 && github.repository == 'twbs/bootstrap' && github.event_name == 'push'
env:
COVERALLS_REPO_TOKEN: "${{ secrets.COVERALLS_REPO_TOKEN }}"
COVERALLS_GIT_BRANCH: "${{ github.ref }}"
uses: coverallsapp/github-action@master
if: matrix.node == 8
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"
40 changes: 0 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"js-test-integration": "rollup --config js/tests/integration/rollup.bundle.js",
"js-test-cloud": "cross-env BROWSER=true npm run js-test-karma",
"lint": "npm-run-all --parallel js-lint css-lint",
"coveralls": "shx cat js/coverage/lcov.info | coveralls",
"docs": "npm-run-all css-docs js-docs docs-compile docs-lint",
"docs-compile": "bundle exec jekyll build",
"docs-production": "cross-env JEKYLL_ENV=production npm run docs-compile",
Expand Down Expand Up @@ -114,7 +113,6 @@
"broken-link-checker": "^0.7.8",
"bundlesize": "^0.18.0",
"clean-css-cli": "^4.3.0",
"coveralls": "^3.0.7",
"cross-env": "^5.2.1",
"eslint": "^5.16.0",
"find-unused-sass-variables": "^0.6.0",
Expand Down

0 comments on commit bdd8752

Please sign in to comment.