changeset 45959:3a3a510617e5

heptapod-ci: add a explicite "test" phases We are about to add more stage Differential Revision: https://phab.mercurial-scm.org/D9454
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 28 Nov 2020 13:42:55 +0100
parents 456c617c8285
children bc1b4eb21da9
files contrib/heptapod-ci.yml
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Sat Nov 28 17:23:50 2020 +0100
+++ b/contrib/heptapod-ci.yml	Sat Nov 28 13:42:55 2020 +0100
@@ -1,3 +1,6 @@
+stages:
+  - tests
+
 image: registry.heptapod.net/mercurial/ci-images/mercurial-core
 
 # The runner made a clone as root.
@@ -15,6 +18,7 @@
     TEST_HGMODULEPOLICY: "allow"
 
 .runtests_template: &runtests
+    stage: tests
     script:
         - echo "python used, $PYTHON"
         - echo "$RUNTEST_ARGS"
@@ -32,11 +36,13 @@
         PYTHON: python3
 
 rust-cargo-test-py2: &rust_cargo_test
+    stage: tests
     script:
         - echo "python used, $PYTHON"
         - make rust-tests
 
 rust-cargo-test-py3:
+    stage: tests
     <<: *rust_cargo_test
     variables:
         PYTHON: python3