Skip to content

Commit 937eea5

Browse files
committed
CI
1 parent d91af4d commit 937eea5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ jobs:
235235
# unit_testing: OFF
236236
# context: PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH
237237
# target: python_unit_testing
238-
# pip_install_prerequisites: sudo uv pip install cmake scikit-build
238+
# pip_install_prerequisites: sudo uv pip install --system cmake scikit-build
239239
# pip_install_test_and_uninstall: ON
240240
# - name: 'Code formatting'
241241
# os: ubuntu-22.04
@@ -383,19 +383,17 @@ jobs:
383383
- name: Install uv
384384
if: ${{ matrix.documentation == 'ON' || matrix.python_support == 'ON' || matrix.target == 'python_check_code_formatting' }}
385385
uses: astral-sh/setup-uv@v6
386-
with:
387-
activate-environment: true
388386
- name: Install Black
389387
if: ${{ matrix.target == 'python_check_code_formatting' }}
390-
run: uv pip install black
388+
run: uv pip install --system black
391389
- name: Install Valgrind
392390
if: ${{ matrix.memory_checks == 'ON' }}
393391
run: |
394392
sudo apt update
395393
sudo apt install valgrind
396394
- name: Install pytest and pytest-html
397395
if: ${{ matrix.python_support == 'ON' }}
398-
run: uv pip install pytest pytest-html
396+
run: uv pip install --system pytest pytest-html
399397
- name: Check pip list
400398
if: ${{ matrix.python_support == 'ON' }}
401399
run: |
@@ -405,7 +403,7 @@ jobs:
405403
# uv python cmake/check_python_package.py pytest_html
406404
- name: Install Sphinx and some Sphinx packages
407405
if: ${{ matrix.documentation == 'ON' }}
408-
run: uv pip install sphinx sphinx-copybutton sphinx-inline-tabs
406+
run: uv pip install --system sphinx sphinx-copybutton sphinx-inline-tabs
409407
- name: Install Doxygen
410408
if: ${{ matrix.documentation == 'ON' }}
411409
run: |
@@ -483,7 +481,7 @@ jobs:
483481
if: ${{ matrix.pip_install_test_and_uninstall == 'ON' }}
484482
run: |
485483
${{ matrix.pip_install_prerequisites }}
486-
uv pip install .
484+
uv pip install --system .
487485
- name: Test libOpenCOR Python
488486
if: ${{ matrix.pip_install_test_and_uninstall == 'ON' }}
489487
run: |

0 commit comments

Comments
 (0)