Skip to content

Commit

Permalink
coveralls live
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuch committed Oct 4, 2023
1 parent c33a4af commit 4d3f235
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 56 deletions.
82 changes: 41 additions & 41 deletions .github/workflows/monorepo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,47 +13,47 @@ jobs:
- uses: actions/setup-node@v2
- run: yarn

lint:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run lint
# lint:
# runs-on: ubuntu-latest
# needs: prepare
# steps:
# - run: ./node_modules/.bin/lerna run lint

test:
runs-on: ubuntu-latest
needs: prepare
steps:
- run: ./node_modules/.bin/lerna run test -- --coverage
# test:
# runs-on: ubuntu-latest
# needs: prepare
# steps:
# - run: ./node_modules/.bin/lerna run test -- --coverage

coveralls:
runs-on: ubuntu-latest
needs: test
strategy:
matrix:
package:
- signpdf
- utils
- placeholder-pdfkit010
- placeholder-plain
steps:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
parallel: true
flag-name: $
github-token: ${{ secrets.GITHUB_TOKEN }}
base-path: packages/$
# coveralls:
# runs-on: ubuntu-latest
# needs: test
# strategy:
# matrix:
# package:
# - signpdf
# - utils
# - placeholder-pdfkit010
# - placeholder-plain
# steps:
# - name: Coveralls
# uses: coverallsapp/github-action@master
# with:
# parallel: true
# flag-name: coveralls-$
# github-token: ${{ secrets.GITHUB_TOKEN }}
# base-path: packages/$

finish:
needs:
- lint
- test
- coveralls
if: $
runs-on: ubuntu-latest
steps:
- name: Close Coveralls
uses: coverallsapp/github-action@master
with:
parallel-finished: true
carryforward: "signpdf,utils,placeholder-pdfkit010,placeholder-plain"
# finish:
# needs:
# - lint
# - test
# - coveralls
# if: $
# runs-on: ubuntu-latest
# steps:
# - name: Close Coveralls
# uses: coverallsapp/github-action@master
# with:
# parallel-finished: true
# carryforward: "coveralls-signpdf,coveralls-utils,coveralls-placeholder-pdfkit010,coveralls-placeholder-plain"
15 changes: 0 additions & 15 deletions .github/workflows/not-travis.yml

This file was deleted.

0 comments on commit 4d3f235

Please sign in to comment.