From 40bdd271d8777a985b32632329858cceaf258699 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andri=20Fr=C3=A4nkl?= <andri.fraenkl@unibas.ch>
Date: Thu, 8 Dec 2022 11:17:42 +0000
Subject: [PATCH] Update .gitlab-ci.yml

---
 .gitlab-ci.yml | 31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ac2f3cd..e758d58 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,23 +1,12 @@
-build-job:
-  stage: build
-  script:
-    - echo "Hello, $GITLAB_USER_LOGIN!"
-
-test-job1:
-  stage: test
-  script:
-    - echo "This job tests something"
-
-test-job2:
-  stage: test
-  script:
-    - echo "This job tests something, but takes more time than test-job1."
-    - echo "After the echo commands complete, it runs the sleep command for 20 seconds"
-    - echo "which simulates a test that runs 20 seconds longer than test-job1"
-    - sleep 20
+default:
+  tags:
+    - docker
+  image: python:3.10-slim-buster
 
-deploy-prod:
-  stage: deploy
+my_tests:
+  # Good to put a small description here of what this job does
+  before_script:
+    - pip install -r requirements.txt
   script:
-    - echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
-  environment: production
+    - echo "Command 1"
+    - echo "Command 2"
-- 
GitLab