comparison contrib/heptapod-ci.yml @ 44249:8b1dd3f42396 stable

heptapod-ci: add a basic file to be able to run tests with heptapod Having this yaml file somewhere in the main mercurial repository makes it trivial for contributors using heptapod to run CI on their in-progress work. There are alot of different combination (python2/python3 pure/cext/rust/pypy) to be tested and making sure all of them are covered manually is cumbersome. Automatic CI runnig on draft really helps in that matters. We start small bu later changesets will add more step testing more of the variants. The series is targetted on stable to make it available to the widest amount of contribution possible. The definition of the docker files used for this are available here: https://dev.heptapod.net/octobus/ci-dockerfiles Differential Revision: https://phab.mercurial-scm.org/D8011
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 25 Jan 2020 17:57:40 +0100
parents
children 7e08d3885b28
comparison
equal deleted inserted replaced
44248:12491abf93bd 44249:8b1dd3f42396
1 image: octobus/ci-mercurial-core
2
3 # The runner made a clone as root.
4 # We make a new clone owned by user used to run the step.
5 before_script:
6 - hg clone . /tmp/mercurial-ci/ --noupdate
7 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
8 - cd /tmp/mercurial-ci/
9
10 checks-py2:
11 script:
12 - cd tests/
13 - python run-tests.py --time test-check-*.*