changeset 44204:b7760c2d33de stable

heptapod-ci: run the test from outside the test directory This will help detecting case where this is broken.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 10 Mar 2020 16:49:38 +0100
parents fb7da4759a18
children 6c36a521572e
files contrib/heptapod-ci.yml
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/heptapod-ci.yml	Tue Mar 10 16:47:02 2020 +0100
+++ b/contrib/heptapod-ci.yml	Tue Mar 10 16:49:38 2020 +0100
@@ -14,10 +14,9 @@
 
 .runtests_template: &runtests
     script:
-        - cd tests/
         - echo "python used, $PYTHON"
         - echo "$RUNTEST_ARGS"
-        - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" run-tests.py --color=always $RUNTEST_ARGS
+        - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
 
 checks-py2:
     <<: *runtests