diff --git a/.github/workflows/tests-python.yml b/.github/workflows/tests-python.yml index 5342c85..371f1b0 100644 --- a/.github/workflows/tests-python.yml +++ b/.github/workflows/tests-python.yml @@ -26,9 +26,9 @@ jobs: # matrix slots on other OS than Linux. include: - os: "macos-latest" - python-version: "3.11" + python-version: "3.12" - os: "windows-latest" - python-version: "3.11" + python-version: "3.12" env: OS: ${{ matrix.os }} @@ -53,7 +53,20 @@ jobs: cache: "pip" cache-dependency-path: "setup.cfg" - - name: Install project + - name: Install project (Linux) + if: runner.os == 'Linux' + run: | + pip3 install --requirement=requirements-test.txt + pip3 install --editable=. + + - name: Install project (macOS) + if: runner == "macOS" + run: | + pip3 install --break-system-packages --requirement=requirements-test.txt + pip3 install --break-system-packages --editable=. + + - name: Install project (Windows) + if: runner == "Windows" run: | pip3 install --requirement=requirements-test.txt pip3 install --editable=.