Skip to content

Commit 840a2ff

Browse files
committed
Fix to not reinstall wrong architecture package with the test dependancies
1 parent ae54efa commit 840a2ff

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/test_old_cpu.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,10 @@ jobs:
5454
# For Sandy Bridge (x86-64-v2), we need to disable FMA code paths
5555
# since FMA instructions are not available on that microarchitecture
5656
if [ "${{ matrix.cpu[0] }}" = "snb" ]; then
57-
pip install . --no-build-isolation -v -Csetup-args=-Ddisable_fma=true
57+
pip install .[test] --no-build-isolation -v -Csetup-args=-Ddisable_fma=true
5858
else
59-
pip install . --no-build-isolation -v
59+
pip install .[test] --no-build-isolation -v
6060
fi
61-
# Install the test dependencies
62-
pip install .[test]
6361
6462
- name: Test import on ${{ matrix.cpu[1] }}
6563
run: |

0 commit comments

Comments
 (0)