Skip to content

Commit

Permalink
Switch to the Coveralls Action (twbs#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 18, 2019
1 parent eedf568 commit 099860d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 39 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
32 changes: 0 additions & 32 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 @@ -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-*",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 099860d

Please sign in to comment.