mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
test if coverage folder is present, added github token
This commit is contained in:
parent
1ee07feb68
commit
22bb1374ef
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@ -229,7 +229,7 @@ jobs:
|
|||||||
##########################################################################
|
##########################################################################
|
||||||
# DOWNLOAD DOCKER IMAGES #################################################
|
# DOWNLOAD DOCKER IMAGES #################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
- name: Download Docker Image (Webapp)
|
- name: Download Docker Image (Frontend)
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: docker-frontend-test
|
name: docker-frontend-test
|
||||||
@ -244,6 +244,8 @@ jobs:
|
|||||||
##########################################################################
|
##########################################################################
|
||||||
# EXTRACT coverage folder ################################################
|
# EXTRACT coverage folder ################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
- name: test presence of coverage folder
|
||||||
|
run: ls -la /coverage
|
||||||
# - name: frontend | Extract coverage folder
|
# - name: frontend | Extract coverage folder
|
||||||
# run: docker cp $(docker create gradido/frontend:test):/app coverage
|
# run: docker cp $(docker create gradido/frontend:test):/app coverage
|
||||||
##########################################################################
|
##########################################################################
|
||||||
@ -255,6 +257,7 @@ jobs:
|
|||||||
type: lcov
|
type: lcov
|
||||||
result_path: /coverage/lcov.info
|
result_path: /coverage/lcov.info
|
||||||
min_coverage: 10
|
min_coverage: 10
|
||||||
|
token: ${{ github.token }}
|
||||||
|
|
||||||
#test:
|
#test:
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user