From cd0543b01288b9664736e2a5824ed887816114fc Mon Sep 17 00:00:00 2001
From: Daniel Kosc <da741kos@htwg-konstanz.de>
Date: Sun, 6 Jun 2021 17:57:24 +0200
Subject: [PATCH] test

---
 .gitlab-ci.yml | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4365cab..00a453b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -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:
-- 
GitLab