diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 4b6c68a..52f1342 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -16,6 +16,12 @@ jobs: - name: Check out repository uses: actions/checkout@v3 + - name: Install uv + uses: astral-sh/setup-uv@v3 + with: + # Install a specific version of uv. + version: "0.5.4" + - name: Download test file windows if: runner.os == 'Windows' run: | @@ -28,18 +34,9 @@ jobs: - name: Set up python ${{ matrix.python-version }} id: setup-python uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - cache: pip - cache-dependency-path: requirements/requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt - - - name: Install pinned requirements - run: | - python -m pip install --upgrade pip - pip install -r requirements/requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt --prefer-binary - - name: Install test requirements - run: pip install .[test] + - name: Install in editable mode with test requirements + run: uv pip install -e .[test] - name: Run tests run: |