diff options
author | aouinizied <aouinizied@gmail.com> | 2022-03-22 13:40:31 +0100 |
---|---|---|
committer | aouinizied <aouinizied@gmail.com> | 2022-03-22 13:40:31 +0100 |
commit | c47d710d8e5281fff2f1f90ff5462c16ac91d50c (patch) | |
tree | 76d7d5bc2dd433cf766acad85fe05d95df7c8f8b | |
parent | beef4f997bccc90c545abdf8d387bab600b4af8f (diff) |
Fix python bindings CI.
-rw-r--r-- | .github/workflows/build.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 724d0b5d1..c8d35dd0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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) |