Skip to content
Snippets Groups Projects
Commit cd0543b0 authored by Daniel Kosc's avatar Daniel Kosc
Browse files

test

parent 9962f0f8
No related branches found
No related tags found
No related merge requests found
Pipeline #97628 failed
......@@ -22,13 +22,7 @@ test:
- pip install pytest-cov
- coverage run -m pytest
- coverage report
- pytest --junitxml=dist
- ls -la
artifacts:
when: always
name: report.xml
reports:
junit: "dist"
- pytest --junitxml=report.xml
only:
- branches
......@@ -36,6 +30,9 @@ test:
tags:
- shared-fi
artifacts:
when: always
reports:
junit: report.xml
paths:
- dist
expire_in: 1 day
......@@ -69,7 +66,7 @@ deploy:
#- echo "requests.delete('https://gitlab.fi.muni.cz/api/v4/projects/14820/packages/'+str(requests.get('https://gitlab.fi.muni.cz/api/v4/projects/14820/packages', headers={'PRIVATE-TOKEN':sys.argv[1],}).json()[-1]['id']), headers={'PRIVATE-TOKEN':sys.argv[1],})" >> remover.py
#- python3 -m pip install requests
#- python3 remover.py $api_token
- python -m twine upload --repository gitlab dist/generator-*-py3-none-any.whl
- python -m twine upload --repository gitlab dist/*
dependencies:
- build
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment