mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
- test docker compose for backend tests
This commit is contained in:
parent
203b4b80ab
commit
124ab5e31f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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 #################################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user