[nautilus/wip/oholy/ci-style-check: 14/29] ci: Remove dead code



commit bef0643bd0ed9e73af3742e9bfc7554f38ceee9b
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Mar 6 11:40:43 2020 +0100

    ci: Remove dead code
    
    The coverage is not computed since the commit a5a405d, but .gitlab-ci.yml
    still contains some coverage related code which is not currently used. Let's
    remove that code to make it more readable.

 .gitlab-ci.yml | 54 +-----------------------------------------------------
 1 file changed, 1 insertion(+), 53 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d14aff880..5ca21a29f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -16,39 +16,6 @@ stages:
       - cd _build
       - ninja test
 
-.flatpak_gcovr:
-    extends: .flatpak
-    after_script:
-        # Generate coverage report
-        - cd _build
-        - flatpak build ../app gcovr
-            --html-details
-            -o coverage.html
-            --print-summary
-            --root=.
-            --exclude=src/
-            --exclude=../data/
-            --exclude=../eel/check-program.c
-            --exclude=../eel/eel-debug.c
-            --exclude=../eel/eel-lib-self-check-functions.c
-            --exclude=../eel/eel-self-checks.c
-            --exclude=../src/animation/
-            --exclude=../src/gtk/
-            --exclude=../src/nautilus-lib-self-check-functions.c
-            --exclude=../src/nautilus-self-check-functions.c
-            --exclude=../subprojects/libgd/
-            --exclude=../test/
-    coverage: '/^branches:.*\s+(\S+\%).*$/'
-    artifacts:
-        when: 'always'
-        # overwrite the path array of the '.flatpak' job
-        paths:
-            - "${BUNDLE}"
-            - '_build/meson-logs/meson-log.txt'
-            - '_build/meson-logs/testlog.txt'
-           #- '_build/coverage.html'
-        expire_in: 2 days
-
 flatpak devel:
     extends: '.flatpak'
     stage: test
@@ -91,7 +58,7 @@ flatpak master:
     dependencies: []
     variables:
         MANIFEST_PATH: "build-aux/flatpak/org.gnome.NautilusMaster.yml"
-        MESON_ARGS: "-Dprofile=Devel -Dtests=all -Db_coverage=true"
+        MESON_ARGS: "-Dprofile=Devel -Dtests=all"
         FLATPAK_MODULE: "nautilus"
         RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
         APP_ID: "org.gnome.NautilusDevel"
@@ -101,25 +68,6 @@ flatpak master:
         - web
         - tags
 
-.pages:
-  stage: deploy
-  dependencies:
-    - 'flatpak devel'
-  script:
-    - mkdir public
-    - mv _build/coverage.html ${CI_PROJECT_DIR}/public/index.html
-  artifacts:
-    paths:
-      - public
-
-  only:
-    - master
-  except:
-    variables:
-      # Don't run for translation commits
-      - $CI_COMMIT_TITLE =~ /^Update.*translation$/
-
-
 triage:
   image: ruby:2.4
   stage: triage


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]