diff options
author | Ondrej Holy <oholy@redhat.com> | 2020-03-06 11:40:43 +0100 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2020-08-19 15:11:02 +0200 |
commit | c9638050853772adbe4e5788997d7aae97327f03 (patch) | |
tree | 76220a6c7a0e25e5ca632bfaaf6733e6ce55eecd | |
parent | a0b340246cb840938673b98ae11570706a5d5d4f (diff) | |
download | nautilus-c9638050853772adbe4e5788997d7aae97327f03.tar.gz |
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.
-rw-r--r-- | .gitlab-ci.yml | 54 |
1 files changed, 1 insertions, 53 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 515ffd9cc..a847bb842 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 @@ -83,7 +50,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" @@ -93,25 +60,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 |