From 55417602c2fb1e2de0c4a00d1d05a240309ef7e5 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 28 Apr 2022 16:38:50 +0300 Subject: [PATCH] A different take on testing. My Python pipeline template is more conservative (still on Python 3.6 and Centos 7 for backwards compatibility). Redo it with a newer Python image. --- .gitlab-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84079cd..c989d91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,13 +2,13 @@ include: - project: shore/ci-stuff file: templates/pre-commit.yml - - project: shore/ci-stuff - file: templates/python.yml - -variables: - SKIP_PYPI_UPLOAD: 1 -install wheel: - extends: .install-wheel +test: + image: registry.shore.co.il/ci-images:python3 + before_script: + - python3 -m pip install build twine script: + - python3 -m build + - twine check dist/*.whl + - python3 -m pip install dist/*.whl - sampleproject -- GitLab