Skip to content

Commit 21845fc

Browse files
authored
chore: Fix local make commands (#5339)
1 parent 24da4de commit 21845fc

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

api/.env-ci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres
22
ANALYTICS_DATABASE_URL=postgres://postgres:postgres@localhost:5432/analytics
3-
PYTEST_ADDOPTS=--cov . --cov-report xml -n auto --dist worksteal --ci
3+
PYTEST_ADDOPTS=--cov . --cov-report xml -n auto --ci
44
GUNICORN_LOGGER_CLASS=util.logging.GunicornJsonCapableLogger
55
COVERAGE_CORE=sysmon

api/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ django-collect-static:
9696

9797
.PHONY: serve
9898
serve:
99-
flagsmith start --reload api
99+
poetry run flagsmith start --reload api
100100

101101

102102
.PHONY: generate-ld-client-types

api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ exclude_also = [
6666
omit = ["scripts/*", "manage.py"]
6767

6868
[tool.pytest.ini_options]
69-
addopts = ['--ds=app.settings.test', '-vvvv', '-p', 'no:warnings']
69+
addopts = ['--ds=app.settings.test', '-vvvv', '-p', 'no:warnings', '--dist=worksteal']
7070
console_output_style = 'count'
7171

7272
[tool.mypy]

0 commit comments

Comments
 (0)