# HG changeset patch # User Pierre-Yves David # Date 1573903553 -3600 # Node ID 2aa2408e75159f70eec51ef83a6c012257888e1f # Parent 7e08d3885b288a4dc00b6e63c52b8cf8cda76724 heptapod-ci: run test with python3 too Python3 is the future^W present, it is important to run tests with it too. Differential Revision: https://phab.mercurial-scm.org/D8013 diff -r 7e08d3885b28 -r 2aa2408e7515 contrib/heptapod-ci.yml --- 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