From 47a46f914a1034ffd6f1c5004dbecb26a43fae9f Mon Sep 17 00:00:00 2001
From: Klaas Kliffen <kliffen@astron.nl>
Date: Mon, 27 Mar 2023 14:00:57 +0200
Subject: [PATCH] Override artifact paths

---
 .gitlab-ci.yml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 49a7155..add26d0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
 include:
 - local: "{{cookiecutter.project_slug}}/.gitlab-ci.yml"
 
+# Bootstrap Cookiecutter template to test provided ci pipeline template
 default:
   before_script:
     - python --version # For debugging
@@ -9,3 +10,13 @@ default:
     - cookiecutter --no-input --overwrite-if-exists --output-dir . .
     - cd my_awesome_app
     - git init
+
+# Override artifact directories
+run_unit_tests_coverage:
+  artifacts:
+    reports:
+      coverage_report:
+        coverage_format: cobertura
+        path: my_awesome_app/coverage.xml
+    paths:
+      - my_awesome_app/htmlcov/*
-- 
GitLab