|
17 | 17 | -p rustpython-jit
|
18 | 18 | -p rustpython-derive
|
19 | 19 | -p rustpython
|
| 20 | + PLATFORM_INDEPENDENT_TESTS: >- |
| 21 | + test_argparse |
| 22 | + test_array |
| 23 | + test_asyncgen |
| 24 | + test_bytes |
| 25 | + test_calendar |
| 26 | + test_complex |
| 27 | + test_dis |
| 28 | + test_json |
| 29 | + test_list |
| 30 | + test_long |
| 31 | + test_set |
| 32 | + test_unicode |
20 | 33 |
|
21 | 34 | jobs:
|
22 | 35 | rust_tests:
|
@@ -145,22 +158,30 @@ jobs:
|
145 | 158 | - if: runner.os == 'Linux'
|
146 | 159 | name: run cpython platform-independent tests
|
147 | 160 | run:
|
148 |
| - target/release/rustpython -m test -v |
149 |
| - test_argparse test_json test_bytes test_long test_unicode test_array |
150 |
| - test_asyncgen test_list test_complex test_json test_set test_dis test_calendar |
| 161 | + target/release/rustpython -m test -v ${{ env.PLATFORM_INDEPENDENT_TESTS }} |
151 | 162 | - if: runner.os != 'Windows'
|
152 | 163 | name: run cpython platform-dependent tests
|
153 |
| - run: target/release/rustpython -m test -v -x |
154 |
| - test_argparse test_json test_bytes test_long test_unicode test_array |
155 |
| - test_asyncgen test_list test_complex test_json test_set test_dis test_calendar |
| 164 | + run: target/release/rustpython -m test -v -x ${{ env.PLATFORM_INDEPENDENT_TESTS }} |
156 | 165 | - if: runner.os == 'Windows'
|
157 | 166 | name: run cpython platform-dependent tests (windows partial - fixme)
|
158 | 167 | run:
|
159 |
| - target/release/rustpython -m test -v -x |
160 |
| - test_argparse test_json test_bytes test_long test_unicode test_array |
161 |
| - test_asyncgen test_list test_complex test_json test_set test_dis test_calendar |
162 |
| - test_pwd test_bool test_cgi test_exception_hierarchy test_glob test_iter test_os test_pathlib |
163 |
| - test_py_compile test_set test_shutil test_sys test_unittest test_venv test_zipimport test_importlib test_io |
| 168 | + target/release/rustpython -m test -v -x ${{ env.PLATFORM_INDEPENDENT_TESTS }} |
| 169 | + test_bool |
| 170 | + test_cgi |
| 171 | + test_exception_hierarchy |
| 172 | + test_glob |
| 173 | + test_importlib |
| 174 | + test_io |
| 175 | + test_iter |
| 176 | + test_os |
| 177 | + test_pathlib |
| 178 | + test_pwd |
| 179 | + test_py_compile |
| 180 | + test_shutil |
| 181 | + test_sys |
| 182 | + test_unittest |
| 183 | + test_venv |
| 184 | + test_zipimport |
164 | 185 | - if: runner.os == 'Linux'
|
165 | 186 | name: check that --install-pip succeeds
|
166 | 187 | run: |
|
|
0 commit comments