add BUILD_COMMIT to test

This commit is contained in:
einhornimmond 2021-09-06 17:12:53 +02:00 committed by Ulf Gebhardt
parent 980e6e0a1c
commit 2cbe284069
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -297,7 +297,7 @@ jobs:
########################################################################## ##########################################################################
- name: frontend | Unit tests - name: frontend | Unit tests
run: | run: |
docker run -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test docker run -e BUILD_COMMIT="$(git rev-parse HEAD)" -v ~/coverage:/app/coverage --rm gradido/frontend:test yarn run test
cp -r ~/coverage ./coverage cp -r ~/coverage ./coverage
########################################################################## ##########################################################################
# COVERAGE REPORT FRONTEND ################################################ # COVERAGE REPORT FRONTEND ################################################