Skip to content
Snippets Groups Projects
Commit fbfad9d1 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Update .gitlab-ci.yml

parent fe5b6177
No related branches found
No related tags found
No related merge requests found
Pipeline #1855 passed
...@@ -5,3 +5,13 @@ test_job: ...@@ -5,3 +5,13 @@ test_job:
script: script:
- pip install -r requirements.txt - pip install -r requirements.txt
- python -m unittest tests/coords_test.py - 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/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment