mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
coverage test
This commit is contained in:
parent
e3da6026a3
commit
25bc2fb094
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
@ -240,7 +240,7 @@ jobs:
|
||||
# UNIT TESTS FRONTEND ####################################################
|
||||
##########################################################################
|
||||
- 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 ################################################
|
||||
##########################################################################
|
||||
@ -254,23 +254,27 @@ jobs:
|
||||
##########################################################################
|
||||
# COVERAGE REPORT FRONTEND ################################################
|
||||
##########################################################################
|
||||
#- name: show content of /coverage/lcov.info
|
||||
# run: cat /coverage/lcov.info
|
||||
#- name: frontend | coverage report
|
||||
# uses: romeovs/lcov-reporter-action@v0.2.16
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# lcov-file: /coverage/lcov.info
|
||||
- name: show content of /coverage/lcov.info
|
||||
run: |
|
||||
cat ~/coverage/lcov.info
|
||||
ls ~/coverage
|
||||
# mv /coverage/* ./coverage/
|
||||
# cat ./coverage/lcov.info
|
||||
- name: frontend | coverage report
|
||||
uses: romeovs/lcov-reporter-action@v0.2.16
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
lcov-file: ~/coverage/lcov.info
|
||||
##########################################################################
|
||||
# COVERALLS REPORT FRONTEND ##############################################
|
||||
##########################################################################
|
||||
- name: frontend | Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: /coverage/lcov.info
|
||||
- name: frontend | print Coveralls result
|
||||
run: ls -la /coverage
|
||||
#- name: frontend | Coveralls
|
||||
# uses: coverallsapp/github-action@master
|
||||
# with:
|
||||
# github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
# path-to-lcov: /coverage/lcov.info
|
||||
#- name: frontend | print Coveralls result
|
||||
# run: ls -la /coverage
|
||||
|
||||
#test:
|
||||
# runs-on: ubuntu-latest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user