[Commented On] D11276: ci: add a "all" template to easily control "when" test run
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Aug 10 15:19:47 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29887.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
⚠ This patch is intended for stable ⚠
<img src="https://phab.mercurial-scm.org/file/data/h5qzsk5iahjdvnl7gmhi/PHID-FILE-x6sscoeidpiv2cehz52q/source.gif" />
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11276?vs=29884&id=29887
BRANCH
stable
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11276/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11276
AFFECTED FILES
contrib/heptapod-ci.yml
CHANGE DETAILS
diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
--- a/contrib/heptapod-ci.yml
+++ b/contrib/heptapod-ci.yml
@@ -10,7 +10,11 @@
HG_CI_IMAGE_TAG: "latest"
TEST_HGTESTS_ALLOW_NETIO: "0"
+.all_template: &all
+ when: always
+
.runtests_template: &runtests
+ <<: *all
stage: tests
# The runner made a clone as root.
# We make a new clone owned by user used to run the step.
@@ -38,6 +42,7 @@
PYTHON: python3
rust-cargo-test-py2: &rust_cargo_test
+ <<: *all
stage: tests
script:
- echo "python used, $PYTHON"
@@ -50,6 +55,7 @@
PYTHON: python3
phabricator-refresh:
+ <<: *all
stage: phabricator
variables:
DEFAULT_COMMENT: ":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)"
@@ -145,6 +151,7 @@
# run-tests.py- it is needed to make run-tests.py generate a `python3` script
# that satisfies the various shebang lines and delegates to `py -3`.
.window_runtests_template: &windows_runtests
+ <<: *all
stage: tests
before_script:
- C:/MinGW/msys/1.0/bin/sh.exe --login -c 'cd "$OLDPWD" && ls -1 tests/test-check-*.* > C:/Temp/check-tests.txt'
To: marmoute, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210810/cc8dbea8/attachment-0002.html>
More information about the Mercurial-patches
mailing list