comparison contrib/heptapod-ci.yml @ 44577:f8427841c8fc

merge with stable
author Yuya Nishihara <yuya@tcha.org>
date Fri, 20 Mar 2020 17:18:14 +0900
parents b3991b72d9f1 daf083140b5b
children aa568b6c6a10
comparison
equal deleted inserted replaced
44576:2ec6160449aa 44577:f8427841c8fc
4 # We make a new clone owned by user used to run the step. 4 # We make a new clone owned by user used to run the step.
5 before_script: 5 before_script:
6 - hg clone . /tmp/mercurial-ci/ --noupdate 6 - hg clone . /tmp/mercurial-ci/ --noupdate
7 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'` 7 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
8 - cd /tmp/mercurial-ci/ 8 - cd /tmp/mercurial-ci/
9 - (cd tests; ls -1 test-check-*.*) > /tmp/check-tests.txt 9 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
10 10
11 variables: 11 variables:
12 PYTHON: python 12 PYTHON: python
13 TEST_HGMODULEPOLICY: "allow" 13 TEST_HGMODULEPOLICY: "allow"
14 14
15 .runtests_template: &runtests 15 .runtests_template: &runtests
16 script: 16 script:
17 - cd tests/
18 - echo "python used, $PYTHON" 17 - echo "python used, $PYTHON"
19 - echo "$RUNTEST_ARGS" 18 - echo "$RUNTEST_ARGS"
20 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" run-tests.py --color=always $RUNTEST_ARGS 19 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
21 20
22 checks-py2: 21 checks-py2:
23 <<: *runtests 22 <<: *runtests
24 variables: 23 variables:
25 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" 24 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"