diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35387679d..05a0ab5db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -162,6 +162,7 @@ jobs: unit_testing: OFF context: PATH=/Library/Frameworks/Python.framework/Versions/Current/bin:$PATH target: python_unit_testing + pip_install_break_system_packages: --break-system-packages pip_install_prerequisites: sudo pip3 install cmake scikit-build pip_install_test_and_uninstall: ON - name: 'Code formatting' @@ -322,7 +323,7 @@ jobs: sudo apt install valgrind - name: Install pytest and pytest-html if: ${{ matrix.target == 'python_unit_testing' }} - run: pip3 install pytest pytest-html + run: pip3 install ${{ matrix.pip_install_break_system_packages }} pytest pytest-html - name: Install Sphinx and some Sphinx packages if: ${{ matrix.documentation == 'ON' }} run: pip3 install sphinx sphinx-copybutton sphinx-inline-tabs