From 20022a137d68fc0eddf43ccea582d5c3b7710f3f Mon Sep 17 00:00:00 2001 From: Frisk Date: Sat, 1 May 2021 16:47:33 +0200 Subject: [PATCH] added unit testing integration --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a25256c..7dc96b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,18 @@ image: python:3.6-alpine include: - template: Code-Quality.gitlab-ci.yml +pytest: + stage: test + script: + - pytest --junitxml=report.xml + artifacts: + when: always + reports: + junit: report.xml + only: + - testing + - merge_requests + test: type: test script: