From fbe025d1f225b9060b969271617a280ec5f301a2 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Thu, 8 Apr 2021 19:19:39 +0200 Subject: [PATCH] use lcov-reporter-action --- .github/workflows/test.yml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdca162de..185a88ffd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -244,16 +244,21 @@ jobs: ########################################################################## # COVERAGE CHECK FRONTEND ################################################ ########################################################################## - - name: hallo, bist du da? - run: ls -la /coverage - - name: frontend | Coverage check - uses: devmasx/coverage-check-action@v1.2.0 + #- name: frontend | Coverage check + # uses: devmasx/coverage-check-action@v1.2.0 + # with: + # type: simplecov + # result_path: /coverage/coverage-final.json + # min_coverage: 10 + # token: ${{ github.token }} + ########################################################################## + # COVERAGE REPORT FRONTEND ################################################ + ########################################################################## + - uses: romeovs/lcov-reporter-action@v0.2.16 with: - type: simplecov - result_path: /coverage/coverage-final.json - min_coverage: 10 - token: ${{ github.token }} - + github-token: ${{ secrets.GITHUB_TOKEN }} + lcov-file: /coverage/lcov.info + #test: # runs-on: ubuntu-latest # steps: