contrib/heptapod-ci.yml
branchstable
changeset 44251 2aa2408e7515
parent 44250 7e08d3885b28
child 44252 5fd43c788943
--- a/contrib/heptapod-ci.yml	Fri Jan 24 23:22:29 2020 +0100
+++ b/contrib/heptapod-ci.yml	Sat Nov 16 12:25:53 2019 +0100
@@ -7,7 +7,19 @@
     - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
     - cd /tmp/mercurial-ci/
 
-checks-py2:
+variables:
+    PYTHON: python
+
+.runtests_template: &runtests
     script:
         - cd tests/
-        - python run-tests.py --color=always --time test-check-*.*
+        - echo "python used, $PYTHON"
+        - $PYTHON run-tests.py --color=always --time test-check-*.*
+
+checks-py2:
+    <<: *runtests
+
+checks-py3:
+    <<: *runtests
+    variables:
+        PYTHON: python3