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: ...@@ -22,13 +22,7 @@ test:
- pip install pytest-cov - pip install pytest-cov
- coverage run -m pytest - coverage run -m pytest
- coverage report - coverage report
- pytest --junitxml=dist - pytest --junitxml=report.xml
- ls -la
artifacts:
when: always
name: report.xml
reports:
junit: "dist"
only: only:
- branches - branches
...@@ -36,6 +30,9 @@ test: ...@@ -36,6 +30,9 @@ test:
tags: tags:
- shared-fi - shared-fi
artifacts: artifacts:
when: always
reports:
junit: report.xml
paths: paths:
- dist - dist
expire_in: 1 day expire_in: 1 day
...@@ -69,7 +66,7 @@ deploy: ...@@ -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 #- 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 -m pip install requests
#- python3 remover.py $api_token #- 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: dependencies:
- build - build
only: only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment