mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
use absolute path,
coverage check
This commit is contained in:
parent
fcf2541f67
commit
544642dddc
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
@ -240,33 +240,27 @@ jobs:
|
|||||||
# UNIT TESTS FRONTEND ####################################################
|
# UNIT TESTS FRONTEND ####################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
- name: frontend | Unit tests
|
- name: frontend | Unit tests
|
||||||
run: docker run -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test
|
run: |
|
||||||
##########################################################################
|
docker run -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test
|
||||||
# COVERAGE CHECK FRONTEND ################################################
|
mv ~/coverage ./coverage
|
||||||
##########################################################################
|
|
||||||
#- 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 ################################################
|
# COVERAGE REPORT FRONTEND ################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
- name: show content of /coverage/lcov.info
|
|
||||||
run: |
|
|
||||||
ls ~/coverage
|
|
||||||
pwd
|
|
||||||
cd ~
|
|
||||||
pwd
|
|
||||||
# mv /coverage/* ./coverage/
|
|
||||||
# cat ./coverage/lcov.info
|
|
||||||
- name: frontend | coverage report
|
- name: frontend | coverage report
|
||||||
uses: romeovs/lcov-reporter-action@v0.2.21
|
uses: romeovs/lcov-reporter-action@v0.2.21
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
lcov-file: /home/runner/coverage/lcov.info
|
lcov-file: ./coverage/lcov.info
|
||||||
|
##########################################################################
|
||||||
|
# COVERAGE CHECK FRONTEND ################################################
|
||||||
|
##########################################################################
|
||||||
|
- name: frontend | Coverage check
|
||||||
|
uses: devmasx/coverage-check-action@v1.2.0
|
||||||
|
with:
|
||||||
|
type: lcov
|
||||||
|
result_path: ./coverage/lcov.info
|
||||||
|
min_coverage: 10
|
||||||
|
token: ${{ github.token }}
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# COVERALLS REPORT FRONTEND ##############################################
|
# COVERALLS REPORT FRONTEND ##############################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user