Loading .gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,13 @@ test_job: script: - pip install -r requirements.txt - python -m unittest tests/coords_test.py deploy_job: stage: deploy tags: - intro-docker script: - pip install twine - python setup.py sdist bdist_wheel - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://www.ict.inaf.it/gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/* Loading
.gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -5,3 +5,13 @@ test_job: script: - pip install -r requirements.txt - python -m unittest tests/coords_test.py deploy_job: stage: deploy tags: - intro-docker script: - pip install twine - python setup.py sdist bdist_wheel - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url https://www.ict.inaf.it/gitlab/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*