From e41140cdc77088b512caaf3960e8f8d4ab7533a9 Mon Sep 17 00:00:00 2001 From: Aviv Palivoda Date: Thu, 6 Feb 2020 21:28:52 +0200 Subject: [PATCH] Use github action to set RUSTPYTHONPATH --- .github/workflows/ci.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2b510fbd9..77614c938 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -69,9 +69,9 @@ jobs: run: pipenv run pytest -v working-directory: ./tests - name: run cpython tests - run: | - export RUSTPYTHONPATH=`pwd`/Lib - cargo run --release -- -m test -v + run: cargo run --release -- -m test -v + env: + RUSTPYTHONPATH: ${{ github.workspace }}/Lib format: name: Check Rust code with rustfmt and clippy