summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2022-08-10 11:56:38 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-08-12 16:47:30 +0000
commit1d9a3aa5c610a5cbe222e1a5ddbd3e1fde43bcf6 (patch)
treeec0b99a90034f00498efebf1ae5c0dba80445150 /.gitlab-ci.yml
parent0fa6cb3063828a385974bbe9aa9a50929ade18b8 (diff)
downloadchrome-ec-1d9a3aa5c610a5cbe222e1a5ddbd3e1fde43bcf6.tar.gz
gitlab: Adjust twister args
Add -p unit_testing to coverage run of twister in case we get some unit tests. Remove --coverage and platforms from testall stage. Add -v -i to both twister calls so that we get better logs. BRANCH=None BUG=b:242067297 TEST=Ran cmds in docker Signed-off-by: Jeremy Bettis <jbettis@google.com> Change-Id: I2013105222b13cbfae75af355ee6d69d353d85b8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3823905 Reviewed-by: Tristan Honscheid <honscheid@google.com> Tested-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3c2e487583..27848a69fa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -230,7 +230,7 @@ zephyr_coverage:
needs: ["seed_cache"]
script:
- ${EC_DIR}/twister --coverage --outdir "${EC_DIR}/twister-out/"
- -p native_posix
+ -v -i -p native_posix -p unit_testing
artifacts:
paths:
- ${EC_DIR}/twister-out/coverage.info
@@ -300,8 +300,8 @@ testall:
stage: test
needs: ["seed_cache"]
script:
- - ${EC_DIR}/twister --coverage --outdir "${EC_DIR}/twister-out/"
- -p native_posix
+ - ${EC_DIR}/twister --outdir "${EC_DIR}/twister-out/"
+ -v -i
twister_coverage:
stage: test