From 01eb76b06f23c183d78593931b332f9ecfa2f0dd Mon Sep 17 00:00:00 2001 From: fabianmoronzirfas Date: Mon, 9 Mar 2020 15:13:30 +0100 Subject: [PATCH 1/3] ci(coverage): Add coverall --- .github/workflows/tests.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 56c6f88..e3db6b8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,3 +28,7 @@ jobs: - run: npm run test:ci -- --no-color env: CI: true + - name: Coveralls + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From 2e04949b0ae159d2cf49af996345f11922892efb Mon Sep 17 00:00:00 2001 From: fabianmoronzirfas Date: Mon, 9 Mar 2020 15:20:41 +0100 Subject: [PATCH 2/3] ci(coverage): Add coverall parallel --- .github/workflows/tests.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e3db6b8..d76a177 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: Node.js CI +name: Node.js Test CI on: push: @@ -28,7 +28,15 @@ jobs: - run: npm run test:ci -- --no-color env: CI: true - - name: Coveralls + - name: Coveralls Parallel uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true + path-to-lcov: ./coverage/lcov.info # optional (default value) + + - name: Coveralls Finished + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true \ No newline at end of file From c17f6ff510cf80a2ce826b0cd681cb5c5302250c Mon Sep 17 00:00:00 2001 From: fabianmoronzirfas Date: Mon, 9 Mar 2020 15:24:52 +0100 Subject: [PATCH 3/3] ci(coverage): remove coverall for now --- .github/workflows/tests.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d76a177..070d2ce 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,16 +27,4 @@ jobs: - run: npm run build --if-present - run: npm run test:ci -- --no-color env: - CI: true - - name: Coveralls Parallel - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel: true - path-to-lcov: ./coverage/lcov.info # optional (default value) - - - name: Coveralls Finished - uses: coverallsapp/github-action@master - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - parallel-finished: true \ No newline at end of file + CI: true \ No newline at end of file