##// END OF EJS Templates
heptapod-ci: run test with python3 too...
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

File last commit:

r44754:2aa2408e stable
r44754:2aa2408e stable
Show More
heptapod-ci.yml
25 lines | 595 B | text/x-yaml | YamlLexer
image: octobus/ci-mercurial-core
# The runner made a clone as root.
# We make a new clone owned by user used to run the step.
before_script:
- hg clone . /tmp/mercurial-ci/ --noupdate
- hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
- cd /tmp/mercurial-ci/
variables:
PYTHON: python
.runtests_template: &runtests
script:
- cd tests/
- echo "python used, $PYTHON"
- $PYTHON run-tests.py --color=always --time test-check-*.*
checks-py2:
<<: *runtests
checks-py3:
<<: *runtests
variables:
PYTHON: python3