add BUILD_COMMIT to test

This commit is contained in:
einhornimmond 2021-09-06 17:12:53 +02:00
parent db020da387
commit 0413e13ee0

View File

@ -297,7 +297,7 @@ jobs:
##########################################################################
- name: frontend | Unit tests
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
##########################################################################
# COVERAGE REPORT FRONTEND ################################################