1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

Switch to the Coveralls Action (#29478)

This is the official way of using Coveralls with Actions. Also this brings back Coveralls for PRs.
This commit is contained in:
XhmikosR
2019-11-18 21:03:43 +02:00
committed by GitHub
parent eedf568b00
commit 099860d727
3 changed files with 5 additions and 39 deletions

View File

@@ -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"