define env variable in ci.yml

This commit is contained in:
Ulf Gebhardt 2021-01-20 14:53:48 +01:00
parent b9aa51edf3
commit 42b9446d0a
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -55,9 +55,9 @@ jobs:
# Unit Tests
- name: backend | unit tests
run: |
docker run --rm ocelotsocialnetwork/backend:build mv /app/.env.template /app/.env
docker run --rm ocelotsocialnetwork/backend:build yarn run test
run: docker run --rm ocelotsocialnetwork/backend:build yarn run test
env:
MAPBOX_TOKEN: "123ABC"
##########################################################################
# WEBAPP #################################################################