[neon/neon/settings/Neon/unstable] debian: run tests during build

Harald Sitter null at kde.org
Wed Aug 18 12:21:47 BST 2021


Git commit 437fb0b401ab58f5319ba3cf1010f222e9656940 by Harald Sitter.
Committed on 18/08/2021 at 11:14.
Pushed by sitter into branch 'Neon/unstable'.

run tests during build

I don't think we've really run the tests before, or at least I can't
find where, so perhaps it'd be best if we run the tests as part of the
build (that is assuming they actually work in the containers - not sure
they do though TBH)

M  +4    -1    debian/control
M  +4    -0    debian/rules

https://invent.kde.org/neon/neon/settings/commit/437fb0b401ab58f5319ba3cf1010f222e9656940

diff --git a/debian/control b/debian/control
index f7db915..d15dca8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,10 @@ Priority: optional
 Maintainer: KDE neon <neon at kde.org>
 Build-Depends: debhelper (>= 9),
                debhelper-compat (= 12),
-               pkg-kde-tools (>= 0.9.2ubuntu14)
+               pkg-kde-tools (>= 0.9.2ubuntu14),
+               rake,
+               ruby-minitest,
+               ruby-mocha
 Standards-Version: 3.9.7
 Vcs-Browser: http://packaging.neon.kde.org/cgit/neon/settings.git/
 Vcs-Git: git://packaging.neon.kde.org/neon/settings
diff --git a/debian/rules b/debian/rules
index d4c7dc6..1fea3b7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,10 @@ export DH_VERBOSE=1
 %:
 	dh $@
 
+override_dh_auto_build:
+	rake test
+	dh_auto_build
+
 override_dh_usrlocal:
 	true
 


More information about the Neon-commits mailing list