Skip to content

Commit

Permalink
update test whl workflow (#1173)
Browse files Browse the repository at this point in the history
Remove the tests running since this workflow's purpose is to check that it is possible to install MCT from its whl and import it.

Co-authored-by: reuvenp <reuvenp@altair-semi.com>
  • Loading branch information
reuvenperetz and reuvenp authored Aug 19, 2024
1 parent 5094a17 commit 1ecb55d
Showing 1 changed file with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test pip install
name: Test whl install
on:
workflow_dispatch: # Allow manual triggers
inputs:
Expand Down Expand Up @@ -37,22 +37,3 @@ jobs:
pip install $whl_file
pip list
python -c 'import model_compression_toolkit; print(model_compression_toolkit.__version__)'
- name: Remove MCT code
run: |
rm -rf model_compression_toolkit
- name: Install TF
run: |
pip install tensorflow==2.15.*
- name: Run Commom Tests
run: |
python -m unittest discover tests/common_tests --verbose
- name: Run Tensorflow Tests
run: |
python -m unittest discover tests/keras_tests --verbose
- name: Uninstall TF and install torch
run: |
pip uninstall tensorflow -y
pip install torch torchvision onnx onnxruntime onnxruntime-extensions
- name: Run Pytorch Tests
run: |
python -m unittest discover tests/pytorch_tests --verbose

0 comments on commit 1ecb55d

Please sign in to comment.