From d805baa78f7657d71ef18c4ba22f64cd0b6bfcd9 Mon Sep 17 00:00:00 2001
From: "Hock, Martin" <martin.hock@fst.tu-darmstadt.de>
Date: Thu, 2 Mar 2023 19:28:21 +0100
Subject: [PATCH] One try to make the CICD work

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2a75f2c..3089ad5 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -32,21 +32,23 @@ before_script:
 
 
 test:
-  tags: 
+  tags:
   - env:docker
   script:
     #-  python setup.py test
-    - pip install flake8  # you can also use tox
+    - pip install flake8 flake8-nb # you can also use tox
     - pwd
     - ls -lh
-    - flake8 ./trial_json.py
+    - flake8 --max-line-length 88 ./functions/*.py
+    - flake8-nb --max-line-length 88 ausarbeitung.ipynb
 
-run:
-  tags: 
-  - env:docker
-  script:
-    - pip install -r requirements.txt
-    - python trial_json.py
+
+#run:
+  #tags:
+  #- env:docker
+  #script:
+    #- pip install -r requirements.txt
+    #- python trial_json.py
     # an alternative approach is to install and run:
     # - pip install dist/*
     # run the command here
@@ -55,7 +57,7 @@ run:
 #      - dist/*.whl
 
 #pages:
-#  tags: 
+#  tags:
 #  - env:docker
 #  script:
 #    - pip install sphinx sphinx-rtd-theme
-- 
GitLab