From edf54cd89a2bdceeda2d093422765770a73c1dda Mon Sep 17 00:00:00 2001 From: Masahiro Hiramori Date: Wed, 21 Dec 2022 13:20:13 +0900 Subject: [PATCH] create whl, then install --- .github/workflows/pythonapp.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b489a3628..5773087bd 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -120,7 +120,8 @@ jobs: if: ${{ startsWith(matrix.os, 'macos') }} working-directory: ../tvm/python run: | - python setup.py install + python setup.py bdist_wheel + python -m pip install `readlink -f dist/tvm-*.whl` # We don't run pytest for Linux py3.8 since we do coverage for that case. - name: Test with pytest if: ${{ matrix.python-version != '3.8' || startsWith(matrix.os, 'ubuntu') != true }}