Run Cpython tests on Mac and Windows

This commit is contained in:
Aviv Palivoda committed 2020-02-06 21:53:31 +02:00
1 parent 6df27f5a58
commit 9e00501749
1 file changed
+6 -17
+6 -17
View File
@@ -31,8 +31,8 @@ jobs:
command: test
args: --verbose --all
snippets:
name: Run snippets tests
snippets_cpython:
name: Run snippets and cpython tests
runs-on: ${{ matrix.os }}
strategy:
matrix:
@@ -68,6 +68,10 @@ jobs:
- name: run snippets
run: pipenv run pytest -v
working-directory: ./tests
- name: run cpython tests
run: |
export RUSTPYTHONPATH=`pwd`/Lib
cargo run --release -- -m test -v
format:
name: Check Rust code with rustfmt and clippy
@@ -104,21 +108,6 @@ jobs:
- name: run lint
run: flake8 . --count --exclude=./.*,./Lib,./vm/Lib --select=E9,F63,F7,F82 --show-source --statistics
cpython:
name: Run CPython test suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build rustpython
uses: actions-rs/cargo@v1
with:
command: build
args: --verbose --all
- name: run tests
run: |
export RUSTPYTHONPATH=`pwd`/Lib
cargo run -- -m test -v
wasm:
name: Check the WASM package and demo
runs-on: ubuntu-latest