From c494a4105f3577313d31943326df6dbc9c0ac513 Mon Sep 17 00:00:00 2001 From: "M. Amin Safavi" Date: Fri, 13 Sep 2024 01:05:13 +0900 Subject: [PATCH] Update ci.yaml --- .github/workflows/ci.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 4fe2e2c..4fb3f7d 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,15 +20,13 @@ jobs: python-version: '3.10' - name: Build and Install run: | - python3 -m venv .venv - source .venv/bin/activate - python3 -m pip install pybind11 - python3 -m pip install pytest - python3 -m pip install numpy - python3 -m pip install --verbose . + ${Python3_EXECUTABLE} -m pip install pybind11 + ${Python3_EXECUTABLE} -m pip install pytest + ${Python3_EXECUTABLE} -m pip install numpy + ${Python3_EXECUTABLE} -m pip install --verbose . - name: Test run: | source .venv/bin/activate export LD_LIBRARY_PATH="/opt/drake/lib:$LD_LIBRARY_PATH" - python3 -m pytest + ${Python3_EXECUTABLE} -m pytest