Add CPython tests to github actions

This commit is contained in:
Aviv Palivoda
2020-01-30 13:52:42 +02:00
parent dfb3588fd5
commit 3b47bb2f61

View File

@@ -76,4 +76,18 @@ jobs:
run: python -m pip install flake8
- 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