##// END OF EJS Templates
heptapod-ci: also run the dedicated rust test for the rust code...
marmoute -
r44755:5fd43c78 stable
parent child Browse files
Show More
@@ -1,25 +1,35 b''
1 image: octobus/ci-mercurial-core
1 image: octobus/ci-mercurial-core
2
2
3 # The runner made a clone as root.
3 # The runner made a clone as root.
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
9
10 variables:
10 variables:
11 PYTHON: python
11 PYTHON: python
12
12
13 .runtests_template: &runtests
13 .runtests_template: &runtests
14 script:
14 script:
15 - cd tests/
15 - cd tests/
16 - echo "python used, $PYTHON"
16 - echo "python used, $PYTHON"
17 - $PYTHON run-tests.py --color=always --time test-check-*.*
17 - $PYTHON run-tests.py --color=always --time test-check-*.*
18
18
19 checks-py2:
19 checks-py2:
20 <<: *runtests
20 <<: *runtests
21
21
22 checks-py3:
22 checks-py3:
23 <<: *runtests
23 <<: *runtests
24 variables:
24 variables:
25 PYTHON: python3
25 PYTHON: python3
26
27 rust-cargo-test-py2: &rust_cargo_test
28 script:
29 - echo "python used, $PYTHON"
30 - make rust-tests
31
32 rust-cargo-test-py3:
33 <<: *rust_cargo_test
34 variables:
35 PYTHON: python3
General Comments 0
You need to be logged in to leave comments. Login now