Fix python bindings CI.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user