Add coverage check to git workflow

This commit is contained in:
Moriz Wahl 2021-04-08 15:28:50 +02:00 committed by Ulf Gebhardt
parent 279021eb8a
commit 40f76c934b
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -241,7 +241,16 @@ jobs:
##########################################################################
- name: frontend | Unit tests
run: docker run --rm gradido/frontend:test yarn run test
##########################################################################
# COVERAGE CHECK FRONTEND ################################################
##########################################################################
- name: frontend | Coverage check
uses: devmasx/coverage-check-action@v1.2.0
with:
type: lcov
result_path: coverage/example.lcov
min_coverage: 10
## token: ${{ github.token }}
#test:
# runs-on: ubuntu-latest