From 2495e3fed22917a2cc4c2a410b01e60c0e55cb57 Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Sat, 23 Mar 2024 04:29:48 +0100 Subject: [PATCH] ci: Remove pytests from cross-platform build Signed-off-by: Siddharth Chandrasekaran --- .github/workflows/cross-plaform-build.yml | 2 -- tests/pytest/run.sh | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cross-plaform-build.yml b/.github/workflows/cross-plaform-build.yml index a1f4a80..a0d455f 100644 --- a/.github/workflows/cross-plaform-build.yml +++ b/.github/workflows/cross-plaform-build.yml @@ -27,8 +27,6 @@ jobs: run: cmake --build build --parallel 8 - name: Run unit-tests run: cmake --build build --parallel 8 --target check-ut - - name: Run pytest - run: tests/pytest/run.sh - name: Pack built binaries run: cmake --build build --target package - name: Upload artifacts diff --git a/tests/pytest/run.sh b/tests/pytest/run.sh index 2581705..a7354fe 100755 --- a/tests/pytest/run.sh +++ b/tests/pytest/run.sh @@ -8,14 +8,13 @@ rm -rf __pycache__/ rm -rf .venv ../../python/{build,dist,libosdp.egg-info,vendor} python3 -m venv .venv source ./.venv/bin/activate +pip install --upgrade pip echo "[-] Installing dependencies.." pip install -r requirements.txt echo "[-] Installing libosdp.." -pushd ../../python -python3 setup.py install -popd +pip install ../../python if [[ "$1" == "-n" ]]; then exit