Patchwork D8011: heptapod-ci: add a basic file to be able to run tests with heptapod

login
register
mail settings
Submitter phabricator
Date Feb. 7, 2020, 8:40 p.m.
Message ID <a59eb7c29aaa04edc3d93cc4e84d0e58@localhost.localdomain>
Download mbox | patch
Permalink /patch/45022/
State Not Applicable
Headers show

Comments

phabricator - Feb. 7, 2020, 8:40 p.m.
Closed by commit rHG8b1dd3f42396: heptapod-ci: add a basic file to be able to run tests with heptapod (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8011?vs=19621&id=19987

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8011/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8011

AFFECTED FILES
  contrib/heptapod-ci.yml

CHANGE DETAILS




To: marmoute, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/contrib/heptapod-ci.yml b/contrib/heptapod-ci.yml
new file mode 100644
--- /dev/null
+++ b/contrib/heptapod-ci.yml
@@ -0,0 +1,13 @@ 
+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/
+
+checks-py2:
+    script:
+        - cd tests/
+        - python run-tests.py --time test-check-*.*