chore: Use make install everywhere instead of poetry install
Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2646>
This commit is contained in:
parent
65f13a379f
commit
349610bbeb
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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 \
|
||||||
|
|
Loading…
Reference in New Issue