aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-01-09 17:25:38 -0800
committerGravatar MarkKoz <[email protected]>2021-01-09 17:25:38 -0800
commit6e5174e1546c7ca0431d2ae43d5b95d757d4445a (patch)
tree9db170f3f0ea5d480a0934ee69bf0be9a85705f6
parentPrevent setting GIT_SHA from invalidating the Docker layer cache (diff)
CI: install numpy
One of the unit tests depends on numpy.
-rw-r--r--.github/workflows/lint-test-build-push.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/lint-test-build-push.yaml b/.github/workflows/lint-test-build-push.yaml
index 4b957f1..ef8a912 100644
--- a/.github/workflows/lint-test-build-push.yaml
+++ b/.github/workflows/lint-test-build-push.yaml
@@ -96,9 +96,10 @@ jobs:
--entrypoint /bin/bash
ghcr.io/python-discord/snekbox-venv:${{ steps.sha_tag.outputs.tag }}
+ # One of the unit tests needs to import numpy.
- name: Install dependencies
run: "docker exec snekbox_test /bin/bash -c \
- 'pipenv install --system --deploy --dev'"
+ 'pipenv install --system --deploy --dev && pip install numpy'"
# This runs `flake8` in the container and asks `flake8` to output
# linting errors in the format of the command for registering workflow