Skip to content

Commit

Permalink
ci: Remove pytests from cross-platform build
Browse files Browse the repository at this point in the history
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
  • Loading branch information
sidcha committed Mar 23, 2024
1 parent e13ad95 commit 2495e3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/cross-plaform-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions tests/pytest/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2495e3f

Please sign in to comment.