Skip to content

Commit 9e00501

Browse files
committed
Run Cpython tests on Mac and Windows
1 parent 6df27f5 commit 9e00501

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ jobs:
3131
command: test
3232
args: --verbose --all
3333

34-
snippets:
35-
name: Run snippets tests
34+
snippets_cpython:
35+
name: Run snippets and cpython tests
3636
runs-on: ${{ matrix.os }}
3737
strategy:
3838
matrix:
@@ -68,6 +68,10 @@ jobs:
6868
- name: run snippets
6969
run: pipenv run pytest -v
7070
working-directory: ./tests
71+
- name: run cpython tests
72+
run: |
73+
export RUSTPYTHONPATH=`pwd`/Lib
74+
cargo run --release -- -m test -v
7175
7276
format:
7377
name: Check Rust code with rustfmt and clippy
@@ -104,21 +108,6 @@ jobs:
104108
- name: run lint
105109
run: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics
106110

107-
cpython:
108-
name: Run CPython test suite
109-
runs-on: ubuntu-latest
110-
steps:
111-
- uses: actions/checkout@master
112-
- name: build rustpython
113-
uses: actions-rs/cargo@v1
114-
with:
115-
command: build
116-
args: --verbose --all
117-
- name: run tests
118-
run: |
119-
export RUSTPYTHONPATH=`pwd`/Lib
120-
cargo run -- -m test -v
121-
122111
wasm:
123112
name: Check the WASM package and demo
124113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)