diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2022-03-01 17:33:51 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gmail.com> | 2022-03-03 14:06:11 +0000 |
commit | 0cf3cb16dd527d089bd7b58be09e7d0313b68902 (patch) | |
tree | 26ce15f2d73704485aed02d6d4ebd21197e57601 | |
parent | b89bbdefd669bef50bd6e4c7238a96a44289e951 (diff) | |
download | libgweather-0cf3cb16dd527d089bd7b58be09e7d0313b68902.tar.gz |
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.
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20c50dd..d4a5e47 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+/' |