[geary/wip/remove-ci-test-workaround] Add test runner multiplier to account for slow CI runners
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary/wip/remove-ci-test-workaround] Add test runner multiplier to account for slow CI runners
- Date: Sun, 7 Apr 2019 04:13:40 +0000 (UTC)
commit bfc38c42355ada8b766f767a6f2d6e631ca39aab
Author: Michael Gratton <mike vee net>
Date: Sun Apr 7 14:10:39 2019 +1000
Add test runner multiplier to account for slow CI runners
Per Infrastructure/Infrastructure#97, gcc150.osuosl.org uses platter
drives and so tests like ImapDB's that touch the disk are sloooooow.
.gitlab-ci.yml | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dd6221f9..471bb89d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -8,11 +8,16 @@ variables:
# Flatpak CI vars
BUNDLE: geary-dev.flatpak
+ # ImapDB and other tests that touch the disk are super slow on CI
+ # runners like gcc150.osuosl.org that use platter drives still.
+ # See Infrastructure/Infrastructure#97.
+ TEST_ARGS: -t 10
+
# Build
BUILD_DIR: build
CONFIG_CMD: meson --buildtype=debug build
BUILD_CMD: ninja -v -C $BUILD_DIR
- TEST_CMD: xvfb-run meson test -v --no-stdsplit -C $BUILD_DIR
+ TEST_CMD: xvfb-run meson test -v --no-stdsplit -C $BUILD_DIR $TEST_AGRS
INSTALL_CMD: ninja -v -C $BUILD_DIR install
# Fedora packages
@@ -69,7 +74,7 @@ flatpak:
MANIFEST_PATH: org.gnome.Geary.json
MESON_ARGS: "-Dprofile=Devel"
RUNTIME_REPO: "https://sdk.gnome.org/gnome-nightly.flatpakrepo"
- TEST_BUILD_ARGS: "--env=CI_RUNNER_DESCRIPTION=${CI_RUNNER_DESCRIPTION}"
+ TEST_RUN_ARGS: $TEST_ARGS
extends: .flatpak
review:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]