Create a testing environment in production for ListenBrainz recommendation engine (troi-recommendation-playground)

This commit is contained in:
petitminion 2023-09-12 16:09:34 +00:00
commit f821dcbbc2
19 changed files with 1124 additions and 11 deletions

View file

@ -253,7 +253,7 @@ test_api:
CACHE_URL: "redis://redis:6379/0"
before_script:
- cd api
- poetry install
- poetry install --all-extras
script:
- >
poetry run pytest
@ -354,7 +354,7 @@ build_api_schema:
API_TYPE: "v1"
before_script:
- cd api
- poetry install
- poetry install --all-extras
- poetry run funkwhale-manage migrate
script:
- poetry run funkwhale-manage spectacular --file ../docs/schema.yml