[neon/neon/settings/Neon/release] debian: run tests during build
Harald Sitter
null at kde.org
Thu Sep 9 10:07:16 BST 2021
Git commit 67dcead39c6f232611590437c9c9de19b8d7ed5e by Harald Sitter.
Committed on 09/09/2021 at 08:25.
Pushed by sitter into branch 'Neon/release'.
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/67dcead39c6f232611590437c9c9de19b8d7ed5e
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