##// END OF EJS Templates
contrib: remove testing for `dirstate-tree` Rust feature...
Raphaël Gomès -
r46882:eb981412 default
parent child Browse files
Show More
@@ -1,122 +1,107
1 1 stages:
2 2 - tests
3 3 - phabricator
4 4
5 5 image: registry.heptapod.net/mercurial/ci-images/mercurial-core
6 6
7 7 variables:
8 8 PYTHON: python
9 9 TEST_HGMODULEPOLICY: "allow"
10 10
11 11 .runtests_template: &runtests
12 12 stage: tests
13 13 # The runner made a clone as root.
14 14 # We make a new clone owned by user used to run the step.
15 15 before_script:
16 16 - hg clone . /tmp/mercurial-ci/ --noupdate --config phases.publish=no
17 17 - hg -R /tmp/mercurial-ci/ update `hg log --rev '.' --template '{node}'`
18 18 - cd /tmp/mercurial-ci/rust/rhg
19 19 - cargo build
20 20 - cd /tmp/mercurial-ci/
21 21 - ls -1 tests/test-check-*.* > /tmp/check-tests.txt
22 22 script:
23 23 - echo "python used, $PYTHON"
24 24 - echo "$RUNTEST_ARGS"
25 25 - HGMODULEPOLICY="$TEST_HGMODULEPOLICY" "$PYTHON" tests/run-tests.py --color=always $RUNTEST_ARGS
26 26
27 27 checks-py2:
28 28 <<: *runtests
29 29 variables:
30 30 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
31 31
32 32 checks-py3:
33 33 <<: *runtests
34 34 variables:
35 35 RUNTEST_ARGS: "--time --test-list /tmp/check-tests.txt"
36 36 PYTHON: python3
37 37
38 38 rust-cargo-test-py2: &rust_cargo_test
39 39 stage: tests
40 40 script:
41 41 - echo "python used, $PYTHON"
42 42 - make rust-tests
43 43
44 44 rust-cargo-test-py3:
45 45 stage: tests
46 46 <<: *rust_cargo_test
47 47 variables:
48 48 PYTHON: python3
49 49
50 50 phabricator-refresh:
51 51 stage: phabricator
52 52 script:
53 53 - "./contrib/phab-refresh-stack.sh --comment \":white_check_mark: refresh by Heptapod after a successful CI run (:octopus: :green_heart:)\""
54 54
55 rust-cargo-test-py3-dirstate-tree:
56 <<: *rust_cargo_test
57 variables:
58 PYTHON: python3
59 HG_RUST_FEATURES: dirstate-tree
60
61 55 test-py2:
62 56 <<: *runtests
63 57 variables:
64 58 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
65 59 TEST_HGMODULEPOLICY: "c"
66 60
67 61 test-py3:
68 62 <<: *runtests
69 63 variables:
70 64 RUNTEST_ARGS: " --no-rust --blacklist /tmp/check-tests.txt"
71 65 PYTHON: python3
72 66 TEST_HGMODULEPOLICY: "c"
73 67
74 68 test-py2-pure:
75 69 <<: *runtests
76 70 variables:
77 71 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
78 72 TEST_HGMODULEPOLICY: "py"
79 73
80 74 test-py3-pure:
81 75 <<: *runtests
82 76 variables:
83 77 RUNTEST_ARGS: "--pure --blacklist /tmp/check-tests.txt"
84 78 PYTHON: python3
85 79 TEST_HGMODULEPOLICY: "py"
86 80
87 81 test-py2-rust:
88 82 <<: *runtests
89 83 variables:
90 84 HGWITHRUSTEXT: cpython
91 85 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
92 86 TEST_HGMODULEPOLICY: "rust+c"
93 87
94 88 test-py3-rust:
95 89 <<: *runtests
96 90 variables:
97 91 HGWITHRUSTEXT: cpython
98 92 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
99 93 PYTHON: python3
100 94 TEST_HGMODULEPOLICY: "rust+c"
101 95
102 test-py3-rust-dirstate-tree:
103 <<: *runtests
104 variables:
105 HGWITHRUSTEXT: cpython
106 RUNTEST_ARGS: "--rust --blacklist /tmp/check-tests.txt"
107 PYTHON: python3
108 TEST_HGMODULEPOLICY: "rust+c"
109 HG_RUST_FEATURES: "dirstate-tree"
110
111 96 test-py2-chg:
112 97 <<: *runtests
113 98 variables:
114 99 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
115 100 TEST_HGMODULEPOLICY: "c"
116 101
117 102 test-py3-chg:
118 103 <<: *runtests
119 104 variables:
120 105 PYTHON: python3
121 106 RUNTEST_ARGS: "--blacklist /tmp/check-tests.txt --chg"
122 107 TEST_HGMODULEPOLICY: "c"
General Comments 0
You need to be logged in to leave comments. Login now