[Updated] D11276: ci: add a "all" template to easily control "when" test run

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Tue Aug 10 14:08:33 UTC 2021


Closed by commit rHGf6879956a386: ci: add a "all" template to easily control "when" test run (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11276?vs=29869&id=29884

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/e092ff2d/attachment-0002.html>


More information about the Mercurial-patches mailing list