Skip to content

Commit 4075d5e

Browse files
committed
CI runs platform-independent and platform-dependent tests separately
1 parent dfd3d57 commit 4075d5e

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -142,20 +142,24 @@ jobs:
142142
run: pipenv run pytest -v
143143
working-directory: ./extra_tests
144144
- if: runner.os == 'Linux'
145-
name: run cpython tests
146-
run: target/release/rustpython -m test -v
147-
- if: runner.os == 'macOS'
148-
name: run cpython tests (macOS lightweight)
145+
name: run cpython platform-independent tests
149146
run:
150147
target/release/rustpython -m test -v
148+
test_argparse test_json test_bytes test_long test_unicode test_array
149+
test_asyncgen test_list test_complex test_json test_set test_dis test_calendar
150+
- if: runner.os != 'Windows'
151+
name: run cpython platform-dependent tests
152+
run: target/release/rustpython -m test -v -x
153+
test_argparse test_json test_bytes test_long test_unicode test_array
154+
test_asyncgen test_list test_complex test_json test_set test_dis test_calendar
151155
- if: runner.os == 'Windows'
152-
name: run cpython tests (windows partial - fixme)
156+
name: run cpython platform-dependent tests (windows partial - fixme)
153157
run:
154158
target/release/rustpython -m test -v -x
155-
test_argparse test_json test_bytes test_long test_pwd test_bool test_cgi test_complex
156-
test_exception_hierarchy test_glob test_iter test_list test_os test_pathlib
157-
test_py_compile test_set test_shutil test_sys test_unicode test_unittest test_venv
158-
test_zipimport test_importlib test_io
159+
test_argparse test_json test_bytes test_long test_unicode test_array
160+
test_asyncgen test_list test_complex test_json test_set test_dis test_calendar
161+
test_pwd test_bool test_cgi test_exception_hierarchy test_glob test_iter test_os test_pathlib
162+
test_py_compile test_set test_shutil test_sys test_unittest test_venv test_zipimport test_importlib test_io
159163
- if: runner.os == 'Linux'
160164
name: check that --install-pip succeeds
161165
run: |

0 commit comments

Comments
 (0)