[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: Tue, 9 Apr 2019 05:31:51 +0000 (UTC)
commit 6b4b598ae4079b06eb1f6629a3e143388259d82d
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..43821c57 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_ARGS
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]