heptapod-ci: run the test from outside the test directory stable
authorPierre-Yves David <pierre-yves.david@octobus.net>
Tue, 10 Mar 2020 16:49:38 +0100
branchstable
changeset 44472 b7760c2d33de
parent 44471 fb7da4759a18
child 44473 6c36a521572e
heptapod-ci: run the test from outside the test directory This will help detecting case where this is broken.
contrib/heptapod-ci.yml
--- 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