Skip to content

Commit 354e9f2

Browse files
Fix CI/CD error of Test pip install when Python3.12 (#149)
* Fix CI/CD error of Test pip install when Python3.12 (same of #147 ) * Add install setuptools * Skip TF test when Python3.12
1 parent 231f72f commit 354e9f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/run_tests_suite_pip.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
run: |
2323
python -m pip install --upgrade pip
2424
pip install -r requirements.txt
25-
pip install twine wheel
25+
pip install twine wheel setuptools
2626
- name: Build WHL file
2727
run: |
2828
version=$(python -c 'import mct_quantizers; print(mct_quantizers.__version__)')
@@ -42,9 +42,11 @@ jobs:
4242
run: |
4343
rm -rf mct_quantizers
4444
- name: Install TF
45+
if: ${{ inputs.python_version != '3.12' }}
4546
run: |
4647
pip install tensorflow==2.15.*
4748
- name: Run TF Tests
49+
if: ${{ inputs.python_version != '3.12' }}
4850
run: |
4951
python -m unittest discover tests/keras_tests --verbose
5052
- name: Prepare for Torch

0 commit comments

Comments
 (0)