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