diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 089ee913a..2b510fbd9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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