chore(cover): pass host env to container for cover data upload

This commit is contained in:
Zaiming Shi 2021-04-11 20:05:53 +02:00 committed by Zaiming (Stone) Shi
parent 058b018e5c
commit 08305f8ddf
1 changed files with 2 additions and 1 deletions

View File

@ -110,8 +110,9 @@ jobs:
docker exec -i erlang bash -c "make ct"
- name: run cover
run: |
printenv > .env
docker exec -i erlang bash -c "make cover"
docker exec -i erlang bash -c "make coveralls"
docker exec --env-file .env -i erlang bash -c "make coveralls"
- uses: actions/upload-artifact@v1
if: failure()
with: