- test docker compose for backend tests

This commit is contained in:
Ulf Gebhardt 2021-01-23 01:56:06 +01:00
parent 203b4b80ab
commit 124ab5e31f
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD

View File

@ -54,8 +54,10 @@ jobs:
run: docker run --rm ocelotsocialnetwork/backend:build yarn run lint
# Unit Tests
#- name: backend | unit tests
# run: docker run --env MAPBOX_TOKEN=123ABC --env JWT_SECRET=123ABC --env PRIVATE_KEY_PASSPHRASE=123ABC --rm ocelotsocialnetwork/backend:build yarn run test
- name: backend | Unit tests
run: |
docker-compose up
docker-compose exec backend yarn test
##########################################################################
# WEBAPP #################################################################