No magic, revert some experimental changes in pipeline
[open-adventure.git] / .gitlab-ci.yml
index 984111df8031110b3a9131c7c5c1e58bcf5394de..d337d0e184e9522b4ac4a5e7540ce0c500b7ceb0 100644 (file)
@@ -19,7 +19,6 @@ binary:debug:
       - "*.o"
       - dungeon.c
       - dungeon.h
       - "*.o"
       - dungeon.c
       - dungeon.h
-      - "*.gcno"
 
 binary:release:
   stage: build
 
 binary:release:
   stage: build
@@ -72,16 +71,12 @@ test:debug:
   before_script:
     - zypper install -y make gcc libedit-devel libasan3 libubsan0 python python2-PyYAML lcov
   script:
   before_script:
     - zypper install -y make gcc libedit-devel libasan3 libubsan0 python python2-PyYAML lcov
   script:
-    - make debug
-    - make check
-    - lcov -t "advent" -o advent.info -c -d .
-    - genhtml -o coverage advent.info
-    - cd tests
-    - ./coverage_dungeon.py
-    - cd ..
+    - make coverage
   artifacts:
     paths:
       - coverage
   artifacts:
     paths:
       - coverage
+  dependencies:
+    - binary:debug
 
 test:release:
   stage: test
 
 test:release:
   stage: test