File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,14 @@ services:
2828 volumes :
2929 - ./tests/fixtures:/app/fishjam_resources/file_component_sources
3030
31+ fishjam-prep :
32+ image : curlimages/curl:8.12.1
33+ command : >
34+ curl --fail-with-body -XPOST http://fishjam:5002/admin/user --json '{"id": "testuser", "token": "development"}'
35+ depends_on :
36+ fishjam :
37+ condition : service_healthy
38+
3139 test :
3240 container_name : test
3341 image : " cimg/python:${PYTHON_VERSION:-3.10}"
@@ -39,8 +47,8 @@ services:
3947 volumes :
4048 - .:/app
4149 depends_on :
42- fishjam :
43- condition : service_healthy
50+ fishjam-prep :
51+ condition : service_completed_successfully
4452
4553 examples :
4654 container_name : examples
@@ -52,5 +60,5 @@ services:
5260 volumes :
5361 - .:/app
5462 depends_on :
55- fishjam :
56- condition : service_healthy
63+ fishjam-prep :
64+ condition : service_completed_successfully
You can’t perform that action at this time.
0 commit comments