##// END OF EJS Templates
heptapod-ci: run the normal test suite...
marmoute -
r44756:8814308e stable
parent child Browse files
Show More
@@ -1,35 +1,51 b''
1 1 image: octobus/ci-mercurial-core
2 2
3 3 # The runner made a clone as root.
4 4 # We make a new clone owned by user used to run the step.
5 5 before_script:
6 6 - hg clone . /tmp/mercurial-ci/ --noupdate
7 7 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
8 8 - cd /tmp/mercurial-ci/
9 - (cd tests; ls -1 test-check-*.*) > /tmp/check-tests.txt
9 10
10 11 variables:
11 12 PYTHON: python
12 13
13 14 .runtests_template: &runtests
14 15 script:
15 16 - cd tests/
16 17 - echo "python used, $PYTHON"
17 - $PYTHON run-tests.py --color=always --time test-check-*.*
18 - echo "$RUNTEST_ARGS"
19 - $PYTHON run-tests.py --color=always $RUNTEST_ARGS
18 20
19 21 checks-py2:
20 22 <<: *runtests
23 variables:
24 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
21 25
22 26 checks-py3:
23 27 <<: *runtests
24 28 variables:
29 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
25 30 PYTHON: python3
26 31
27 32 rust-cargo-test-py2: &rust_cargo_test
28 33 script:
29 34 - echo "python used, $PYTHON"
30 35 - make rust-tests
31 36
32 37 rust-cargo-test-py3:
33 38 <<: *rust_cargo_test
34 39 variables:
35 40 PYTHON: python3
41
42 test-py2:
43 <<: *runtests
44 variables:
45 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
46
47 test-py3:
48 <<: *runtests
49 variables:
50 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt"
51 PYTHON: python3
General Comments 0
You need to be logged in to leave comments. Login now