[libgweather/ebassi/test-style-format: 4/4] ci: Disable redundant tests




commit efcb45ab053f4a9b228dde35b7fa5519bf1b422e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Mar 1 17:33:51 2022 +0000

    ci: Disable redundant tests
    
    The CI pipeline has a separate test for the coding style, so we don't
    really need to run the style format check.
    
    Additionally, the analysis jobs don't need to validate the locations
    data, or lint the Python script that generates it.

 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 20c50dd7..d4a5e47f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -58,7 +58,7 @@ style-check-diff:
     - meson setup ${MESON_EXTRA_FLAGS} --prefix /usr _build .
     - meson compile -C _build
     - meson install -C _build
-    - meson test -C _build
+    - meson test -C _build --no-suite=style
   artifacts:
     reports:
       junit: "_build/meson-logs/testlog.junit.xml"
@@ -248,7 +248,7 @@ asan-build:
   script:
     - CC=clang meson setup --prefix /usr ${MESON_EXTRA_FLAGS} _asan_build .
     - meson compile -C _asan_build
-    - meson test -C _asan_build
+    - meson test -C _asan_build --no-suite=style --no-suite=lint
   artifacts:
     name: "gweather-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
     when: always
@@ -287,7 +287,7 @@ coverage:
     - meson install -C _build
     - mkdir -p _coverage
     - lcov --config-file .gitlab-ci/lcovrc --directory _build --capture --initial --output-file 
"_coverage/${CI_JOB_NAME}-baseline.lcov"
-    - meson test -C _build
+    - meson test -C _build --no-suite=style --no-suite=lint
     - lcov --config-file .gitlab-ci/lcovrc --directory _build --capture --output-file 
"_coverage/${CI_JOB_NAME}.lcov"
     - bash -x .gitlab-ci/gen-coverage.sh
   coverage: '/^\s+lines\.+:\s+([\d.]+\%)\s+/'


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