Skip to content

Commit b54d3b6

Browse files
committed
Fix entrypoint
1 parent dccf965 commit b54d3b6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/integration.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,4 @@ jobs:
3030
- name: Unit tests
3131
env:
3232
CLIENT_API_KEY: ${{ secrets.CLIENT_API_KEY }}
33-
run: >
34-
docker-compose run --entrypoint sh -e ENV=dev -e CLIENT_API_KEY web
35-
init.sh python manage.py test --debug-mode
33+
run: docker-compose run -e ENV=dev -e CLIENT_API_KEY web python manage.py test --debug-mode

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ clean: ## Stop and remove containers, networks, volmes, and images
3636

3737
# Debug tools
3838
run_debug: ## Builds, starts, and runs containers, running the built-in Django web server
39-
docker-compose run --entrypoint sh --service-ports web init.sh python manage.py runserver 0.0.0.0:81
39+
docker-compose run --service-ports web python manage.py runserver 0.0.0.0:81
4040

4141
exec_debug: ## Runs built-in Django web server
4242
docker-compose exec web python manage.py runserver 0.0.0.0:81
@@ -47,7 +47,7 @@ graph: ## Builds a UML class diagram of the models
4747

4848
# Misc
4949
test: ## Builds, starts, and runs containers, running the django tests
50-
docker-compose run --entrypoint sh --service-ports web init.sh python manage.py test --debug-mode
50+
docker-compose run --service-ports web python manage.py test --debug-mode
5151

5252
exec_test: ## Executes django tests in a running container
5353
docker-compose exec web python manage.py test --debug-mode

0 commit comments

Comments
 (0)