From 3bc6a47e06ac886a58954b2ce600d0cf60d4c08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de> Date: Mon, 17 Apr 2023 11:49:05 +0200 Subject: [PATCH] Update CI file. --- .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 75c8bf0..c3b01b5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ test_docker: rules: - if: '$CI_COMMIT_TAG == null' -deploy to testpypi: +deploy-to-testpypi: stage: deploy_test image: python:3.8 only: @@ -27,10 +27,10 @@ deploy to testpypi: - python setup.py sdist bdist_wheel - twine upload -u $PYPI_TEST_USER -p $PYPI_TEST_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/* -install from testpypi: +install-from-testpypi: stage: test_install image: python:3.8 - needs: ["deploy to testpypi"] + needs: ["deploy-to-testpypi"] script: - pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ enstools-encoding artifacts: @@ -38,10 +38,10 @@ install from testpypi: paths: - "*.log" -deploy to pypi: +deploy-to-pypi: stage: deploy_prod image: python:3.8 - needs: ["install from testpypi"] + needs: ["install-from-testpypi"] script: - pip install twine - python setup.py sdist bdist_wheel -- GitLab