From bbd9b359444c07e374672bf2089eeaafd2c9dde0 Mon Sep 17 00:00:00 2001
From: Tue Herlau <tuhe@dtu.dk>
Date: Mon, 19 Sep 2022 16:06:52 +0200
Subject: [PATCH] CI/CD

---
 .gitlab-ci.yml   | 4 +++-
 pages/index.html | 6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6f74f26..85ccfb1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,8 +74,10 @@ stages:
     - pwd
     - apt-get install -y software-properties-common
     - add-apt-repository universe
+    - sed -i "/^# deb.*multiverse/ s/^# //" /etc/apt/sources.list
+    - sed -i "/^# deb.*universe/ s/^# //" /etc/apt/sources.list
     - add-apt-repository ppa:inkscape.dev/stable
-    - apt-get update
+    - apt-get -y update
     - apt install -y inkscape
     - pip install -U Pillow
     - pip install -e ./
diff --git a/pages/index.html b/pages/index.html
index 827aeaf..8c9cd6f 100644
--- a/pages/index.html
+++ b/pages/index.html
@@ -1,4 +1,10 @@
 <html><body>
 <h1>Stuff here</h1>
 
+<table border="1">
+    <tr><td>What?</td><td>Current run</td><td>Expected</td></tr>
+    <tr><td>Index before svg update (index_a.png)</td><td><img src="test_images/index_a.png"></td><td><img src="expected/index_a.png"></td></tr>
+    <tr><td>Index after svg update (index_b.png)</td><td><img src="test_images/index_b.png"></td><td><img src="expected/index_b.png"></td></tr>
+    <tr></tr>
+</table>
 </body></html>
\ No newline at end of file
-- 
GitLab