Skip to content
Permalink
Browse files

Switch to the Coveralls Action (#29478)

This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
  • Loading branch information
XhmikosR committed Nov 18, 2019
1 parent eedf568 commit 099860d727f0ed2ab039ccac48e2ead61083427c
Showing with 5 additions and 39 deletions.
  1. +5 −5 .github/workflows/test.yml
  2. +0 −32 package-lock.json
  3. +0 −2 package.json
@@ -48,8 +48,8 @@ jobs:
BROWSER_STACK_USERNAME: "${{ secrets.BROWSER_STACK_USERNAME }}"

- name: Run Coveralls
run: npm run coveralls
if: matrix.node == 10 && 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 == 10
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
path-to-lcov: "./js/coverage/lcov.info"

Some generated files are not rendered by default. Learn more.

@@ -20,7 +20,6 @@
"scripts": {
"start": "npm-run-all --parallel watch docs-serve",
"bundlesize": "bundlesize",
"coveralls": "cat js/coverage/lcov.info | coveralls",
"css": "npm-run-all css-compile css-prefix css-minify",
"css-compile": "node-sass --output-style expanded --source-map true --source-map-contents true --precision 6 scss/ -o dist/css/",
"css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
@@ -96,7 +95,6 @@
"babel-plugin-istanbul": "^5.2.0",
"bundlesize": "^0.18.0",
"clean-css-cli": "^4.3.0",
"coveralls": "^3.0.7",
"cross-env": "^6.0.3",
"eslint": "^6.6.0",
"eslint-config-xo": "^0.27.2",

0 comments on commit 099860d

Please sign in to comment.
You can’t perform that action at this time.