equal
deleted
inserted
replaced
|
1 stages: |
|
2 - tests |
|
3 |
1 image: registry.heptapod.net/mercurial/ci-images/mercurial-core |
4 image: registry.heptapod.net/mercurial/ci-images/mercurial-core |
2 |
5 |
3 # The runner made a clone as root. |
6 # The runner made a clone as root. |
4 # We make a new clone owned by user used to run the step. |
7 # We make a new clone owned by user used to run the step. |
5 before_script: |
8 before_script: |
13 variables: |
16 variables: |
14 PYTHON: python |
17 PYTHON: python |
15 TEST_HGMODULEPOLICY: "allow" |
18 TEST_HGMODULEPOLICY: "allow" |
16 |
19 |
17 .runtests_template: &runtests |
20 .runtests_template: &runtests |
|
21 stage: tests |
18 script: |
22 script: |
19 - echo "python used, $PYTHON" |
23 - echo "python used, $PYTHON" |
20 - echo "$RUNTEST_ARGS" |
24 - echo "$RUNTEST_ARGS" |
21 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS |
25 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS |
22 |
26 |
30 variables: |
34 variables: |
31 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" |
35 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt" |
32 PYTHON: python3 |
36 PYTHON: python3 |
33 |
37 |
34 rust-cargo-test-py2: &rust_cargo_test |
38 rust-cargo-test-py2: &rust_cargo_test |
|
39 stage: tests |
35 script: |
40 script: |
36 - echo "python used, $PYTHON" |
41 - echo "python used, $PYTHON" |
37 - make rust-tests |
42 - make rust-tests |
38 |
43 |
39 rust-cargo-test-py3: |
44 rust-cargo-test-py3: |
|
45 stage: tests |
40 <<: *rust_cargo_test |
46 <<: *rust_cargo_test |
41 variables: |
47 variables: |
42 PYTHON: python3 |
48 PYTHON: python3 |
43 |
49 |
44 rust-cargo-test-py3-dirstate-tree: |
50 rust-cargo-test-py3-dirstate-tree: |