contrib/heptapod-ci.yml
changeset 44577 f8427841c8fc
parent 44490 b3991b72d9f1
parent 44499 daf083140b5b
child 44936 aa568b6c6a10
--- a/contrib/heptapod-ci.yml	Thu Mar 19 14:54:10 2020 -0400
+++ b/contrib/heptapod-ci.yml	Fri Mar 20 17:18:14 2020 +0900
@@ -6,7 +6,7 @@
     - hg clone . /tmp/mercurial-ci/ --noupdate
     - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
     - cd /tmp/mercurial-ci/
-    - (cd tests; ls -1 test-check-*.*) > /tmp/check-tests.txt
+    - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
 
 variables:
     PYTHON: python
@@ -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