Fix python bindings CI.

This commit is contained in:
aouinizied
2022-03-22 13:40:31 +01:00
parent beef4f997b
commit c47d710d8e
+8 -4
View File
@@ -50,6 +50,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: "3.9"
- name: Install Ubuntu Prerequisites
run: |
sudo apt-get update
@@ -61,14 +65,14 @@ jobs:
- name: Generate Python bindings
run: |
cd python
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 setup.py install
pip install --upgrade pip
pip install -r requirements.txt
python setup.py install
cd ..
- name: Test Python Bindings
run: |
cd python
python3 tests.py
python tests.py
test-scripts:
name: Test Utils (ubuntu-latest)