From 292bc3c4e57897a6c223961b562a83a8169f6ac4 Mon Sep 17 00:00:00 2001 From: Christian Klemm Date: Wed, 20 Nov 2019 21:11:48 +0100 Subject: [PATCH 1/2] Switched to coveralls action --- .github/workflows/build.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b8150e8571..3509c14939 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,10 +38,11 @@ jobs: - name: Run Unit Tests run: | yarn test --coverage - cat ./coverage/lcov.info | ./node_modules/.bin/coveralls - env: - COVERALLS_SERVICE_NAME: ${{ secrets.COVERALLS_SERVICE_NAME }} - COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + + - name: Upload Test Results + uses: coverallsapp/github-action@v1.0.1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Run E2E Tests run: yarn e2e From 3fedd452a5c5ef789fcda9a275334d7acb9dd227 Mon Sep 17 00:00:00 2001 From: Christian Klemm Date: Wed, 20 Nov 2019 21:18:19 +0100 Subject: [PATCH 2/2] added parallel build support --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3509c14939..8f0f3b95da 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,9 +43,16 @@ jobs: uses: coverallsapp/github-action@v1.0.1 with: github-token: ${{ secrets.GITHUB_TOKEN }} + parallel: true - name: Run E2E Tests run: yarn e2e env: PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }} CYPRESS_CACHE_FOLDER: .cache/Cypress + + - name: Post Upload Test Results + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + parallel-finished: true