From c89468e78b21d8fc25047207b11f3e99f378c66d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maja=20Jab=C5=82o=C5=84ska?= <mjablonska@e-science.pl> Date: Wed, 31 Jan 2024 10:05:30 +0000 Subject: [PATCH] Use venv's pip --- .gitlab-ci.yml | 9 ++++----- tox.ini | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c074561..f7c5bcd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,15 +22,14 @@ before_script: pypi_publish: before_script: - - pip list - - pip install twine + - pip3 list + - pip3 install twine only: - main stage: publish script: - - pip install twine - - python setup.py sdist bdist_wheel - - python -m twine upload + - python3 setup.py sdist bdist_wheel + - python3 -m twine upload --skip-existing --repository-url https://pypi.clarin-pl.eu/ -u $PIPY_USER diff --git a/tox.ini b/tox.ini index a20a466..12e6382 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py +envlist = py38 [testenv] commands = pytest {posargs} \ No newline at end of file -- GitLab