chore: Use make install everywhere instead of poetry install

Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2646>
environments/review-docs-new-u-8ytdey/deployments/18969
Georg Krause 2023-11-24 13:04:44 +00:00 zatwierdzone przez Marge
rodzic 65f13a379f
commit 349610bbeb
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

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

Wyświetl plik

@ -14,7 +14,7 @@ tasks:
docker-compose up -d docker-compose up -d
poetry env use python poetry env use python
poetry install make install
gp ports await 5432 gp ports await 5432

Wyświetl plik

@ -4,7 +4,7 @@ CPU_CORES := $(shell N=$$(nproc); echo $$(( $$N > 4 ? 4 : $$N )))
.PHONY: install lint .PHONY: install lint
install: install:
poetry install poetry install --all-extras
lint: lint:
poetry run pylint \ poetry run pylint \