From e8f641448bb7299ec6dbec09c5018e763d35e87f Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 28 Apr 2022 17:02:46 +0300 Subject: [PATCH] CI: Add editable installation test. --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c989d91..43eb6a1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,3 +12,12 @@ test: - twine check dist/*.whl - python3 -m pip install dist/*.whl - sampleproject + +test editable package: + image: registry.shore.co.il/ci-images:python3 + script: + - cd "$(mktemp -d)" + - python3 -m venv . + - . ./bin/activate + - pip install -e "$CI_PROJECT_DIR" + - sampleproject -- GitLab