Fix python bindings CI.
This commit is contained in:
@@ -50,6 +50,10 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Set up Python 3.9
|
||||||
|
uses: actions/setup-python@v2
|
||||||
|
with:
|
||||||
|
python-version: "3.9"
|
||||||
- name: Install Ubuntu Prerequisites
|
- name: Install Ubuntu Prerequisites
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@@ -61,14 +65,14 @@ jobs:
|
|||||||
- name: Generate Python bindings
|
- name: Generate Python bindings
|
||||||
run: |
|
run: |
|
||||||
cd python
|
cd python
|
||||||
python3 -m pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
python3 -m pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
python3 setup.py install
|
python setup.py install
|
||||||
cd ..
|
cd ..
|
||||||
- name: Test Python Bindings
|
- name: Test Python Bindings
|
||||||
run: |
|
run: |
|
||||||
cd python
|
cd python
|
||||||
python3 tests.py
|
python tests.py
|
||||||
|
|
||||||
test-scripts:
|
test-scripts:
|
||||||
name: Test Utils (ubuntu-latest)
|
name: Test Utils (ubuntu-latest)
|
||||||
|
|||||||
Reference in New Issue
Block a user