heptapod-ci: run the test from outside the test directory
This will help detecting case where this is broken.
--- 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