aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2022-05-29 11:40:32 -0700
committerGravatar MarkKoz <[email protected]>2022-05-29 11:44:04 -0700
commit05a1bf2e413d9c29fd568588e3671b55675c13ce (patch)
tree1b8f91fbc91fdfcfbc605658823b6062b39e4f31
parentFix 415 error response title (diff)
Rebuild the container before running the test command
Ensure the dependencies are up-to-date in the dev container.
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 42221aa..8a2705f 100644
--- a/Makefile
+++ b/Makefile
@@ -27,6 +27,7 @@ lint: setup
# Install numpy because a test checks if it's importable
.PHONY: test
test:
+ docker-compose build -q --force-rm
docker-compose run --entrypoint /bin/bash --rm snekbox -c \
'coverage run -m unittest; e=$?; chown --reference=. .coverage; exit $e'