Skip to content

Commit

Permalink
Fix 'make celery-worker' command
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiberta committed Nov 20, 2024
1 parent 6b7df73 commit 4c0445b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ _test: $(VENV)

TEST_FILES = $(shell find tests -maxdepth 1 -name test_\*.py | cut -c 7- | cut -d. -f1)
$(TEST_FILES): $(VENV)
. $(BIN)/activate && py.test -k $@ $(ARGS)
. $(BIN)/activate && pytest -k $@ $(ARGS)

export DEBUGLOG=log
export DEVEL=1
Expand Down Expand Up @@ -84,7 +84,7 @@ migrate:
$(BIN)/python tests/django_app/manage.py migrate

celery-worker: lib/redis
$(BIN)/talisker.celery worker -q -A tests.celery_app
$(BIN)/talisker.celery -q -A tests.celery_app worker

celery-client: lib/redis
$(BIN)/python tests/celery_app.py
Expand Down Expand Up @@ -119,7 +119,7 @@ github-tox: $(VENV)
tox

coverage: $(VENV)
$(BIN)/py.test --cov=talisker --cov-report html:htmlcov --cov-report term
$(BIN)/pytest --cov=talisker --cov-report html:htmlcov --cov-report term
$(BROWSER) htmlcov/index.html

docs: $(VENV)
Expand Down

0 comments on commit 4c0445b

Please sign in to comment.