From d5c6659c5d6cdd638d27688146373dc3e40f639b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kriszti=C3=A1n=20Sz=C5=B1cs?= Date: Tue, 31 Aug 2021 14:01:27 +0200 Subject: [PATCH] Virtualenv --- .github/workflows/integration.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 7054bfbfc214..41b1dcbe8eb9 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -78,16 +78,19 @@ jobs: with: python-version: '3.7' - name: Upgrade pip and setuptools - run: pip install --upgrade pip setuptools wheel - - name: Install python dependencies - run: pip install maturin==0.8.2 toml==0.10.1 pytest pytz - - name: Install nightly pyarrow wheel - run: pip install pyarrow>=5.0 + run: pip install --upgrade pip setuptools wheel virtualenv + - name: Create virtualenv and install dependencies + run: | + virtualenv venv + source venv/bin/activate + pip install maturin toml pytest pytz pyarrow>=5.0 - name: Run tests env: CARGO_HOME: "/home/runner/.cargo" CARGO_TARGET_DIR: "/home/runner/target" - working-directory: arrow-pyarrow-integration-testing run: | + source venv/bin/activate + pushd arrow-pyarrow-integration-testing maturin develop pytest -v . + popd