diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d5cc92..6f61eae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,17 +66,19 @@ jobs: - name: Install old NumPy if: matrix.numpy-version != 'latest' - run: python -m pip install numpy==${{ matrix.numpy-version }} + run: | + python -m pip install --upgrade uv + uv pip install --system numpy==${{ matrix.numpy-version }} - name: Install package - run: python -m pip install .[test] + run: uv pip install --system '.[test]' - name: Print NumPy version run: python -c 'import numpy as np; print(np.__version__)' - name: Test package run: >- - python -m pytest -ra --cov --cov-report=xml --cov-report=term + pytest -ra --cov --cov-report=xml --cov-report=term --durations=20 - name: Upload coverage report