Skip to content

Commit 176fa58

Browse files
authored
Merge pull request RustPython#1722 from palaviv/os-uname
Change platform to CPython pure python platform
2 parents fdbef41 + 05cb849 commit 176fa58

File tree

9 files changed

+1515
-33
lines changed

9 files changed

+1515
-33
lines changed

.github/workflows/ci.yaml

Lines changed: 7 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,11 @@ jobs:
6868
- name: run snippets
6969
run: pipenv run pytest -v
7070
working-directory: ./tests
71+
- name: run cpython tests
72+
run: cargo run --release -- -m test -v
73+
env:
74+
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
75+
if: runner.os != 'Windows'
7176

7277
format:
7378
name: Check Rust code with rustfmt and clippy
@@ -104,21 +109,6 @@ jobs:
104109
- name: run lint
105110
run: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics
106111

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-
122112
wasm:
123113
name: Check the WASM package and demo
124114
runs-on: ubuntu-latest

Cargo.lock

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)