Skip to contentSkip to conversation

CI: reduce coverage for time improvement

PATCH Applied Jon Mason 2 participants 2 messages Oct 31, 2025 – Nov 6, 2025

lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/1 CI: reduce coverage for time improvement

Reduce the number of tests being run in CI to reduce the amount of time it takes to complete, while providing the same code coverage. Internal CI runs went from 2.5h to 1.5h.

---
 .gitlab-ci.yml | 32 ++++++++------------------------
 1 file changed, 8 insertions(+), 24 deletions(-)
.gitlab-ci.yml +8 -24
index c06b05e4743d..ab6a1f887f17 100644
@@ -126,7 +126,7 @@ update-repos:
 #
 # Available options for building are (VIRT _must_ be last for ssh override)
 #  DISTRO: [poky, poky-altcfg, poky-tiny]
-#  KERNEL: [linux-yocto, linux-yocto-dev, linux-yocto-rt]
+#  KERNEL: [linux-yocto, linux-yocto-dev]
 #  TOOLCHAINS: [gcc, clang]
 #  TCLIBC: [glibc, musl]
 #  FIRMWARE: [u-boot, edk2]
@@ -266,14 +266,11 @@ qemuarm64-secureboot:
   extends: .build
   parallel:
     matrix:
-      - KERNEL: [linux-yocto, linux-yocto-rt]
-        TOOLCHAINS: [gcc, clang]
+      - TOOLCHAINS: [gcc, clang]
         TCLIBC: [glibc, musl]
         TS: [none, qemuarm64-secureboot-ts]
         TESTING: testimage
-      - TOOLCHAINS: [gcc, clang]
-        TS: [none, qemuarm64-secureboot-ts]
-        UEFISB: [none, uefi-secureboot]
+      - UEFISB: [none, uefi-secureboot]
         TESTING: testimage
       - KERNEL: linux-yocto-dev
         TESTING: testimage
@@ -282,23 +279,15 @@ qemuarm64:
   extends: .build
   parallel:
     matrix:
-      - DISTRO: poky
-        KERNEL: [linux-yocto, linux-yocto-rt]
-        TOOLCHAINS: [gcc, clang]
-        FIRMWARE: [u-boot, edk2]
-        TESTING: testimage
       - DISTRO: poky-tiny
         TESTING: testimage
       - VIRT: xen
-      - KERNEL: linux-yocto-dev
-        TESTING: testimage
 
 qemuarm-secureboot:
   extends: .build
   parallel:
     matrix:
-      - KERNEL: [linux-yocto, linux-yocto-rt]
-        TOOLCHAINS: [gcc, clang]
+      - TOOLCHAINS: [gcc, clang]
         TCLIBC: [glibc, musl]
         TESTING: testimage
       - DISTRO: [poky, poky-altcfg]
@@ -310,23 +299,19 @@ qemuarm:
   extends: .build
   parallel:
     matrix:
-      - DISTRO: poky
-        KERNEL: [linux-yocto, linux-yocto-rt]
-        TOOLCHAINS: [gcc, clang]
-        FIRMWARE: [u-boot, edk2]
+      - TOOLCHAINS: [gcc, clang]
+        FIRMWARE: edk2
         TESTING: testimage
       - DISTRO: poky-tiny
         TESTING: testimage
       - VIRT: xen
-      - KERNEL: linux-yocto-dev
-        TESTING: testimage
 
 qemuarmv5:
   extends: .build
   parallel:
     matrix:
       - DISTRO: poky
-        KERNEL: [linux-yocto, linux-yocto-dev, linux-yocto-rt]
+        KERNEL: [linux-yocto, linux-yocto-dev]
         TESTING: testimage
       - DISTRO: poky-tiny
         TESTING: testimage
@@ -335,8 +320,7 @@ sbsa-ref:
   extends: .build
   parallel:
     matrix:
-      - KERNEL: [linux-yocto, linux-yocto-rt]
-        TOOLCHAINS: [gcc, clang]
+      - TOOLCHAINS: [gcc, clang]
         TESTING: testimage
       - DISTRO: poky-altcfg
         TESTING: testimage
Signature · 1 line
2.50.1 (Apple Git-155)
Applied
#1 lore raw
Quoted 5 lines · Jon Mason

Reduce the number of tests being run in CI to reduce the amount of time it takes to complete, while providing the same code coverage. Internal CI runs went from 2.5h to 1.5h.

Applied, thanks!

[1/1] CI: reduce coverage for time improvement

      commit: 3bf5bc2a3cd002c8d318d913e1548f784e08d92d

Best regards,

Signature · 1 line
Jon Mason <[email protected]>