From 17f97ff5f70bef0c4f9c35339bf318a28a8adc0b Mon Sep 17 00:00:00 2001 From: William Patton Date: Wed, 9 Oct 2024 10:12:50 -0700 Subject: [PATCH] simplify github action with uv --- .github/workflows/test_py.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test_py.yaml b/.github/workflows/test_py.yaml index 8d562dc..9846f2b 100644 --- a/.github/workflows/test_py.yaml +++ b/.github/workflows/test_py.yaml @@ -14,13 +14,8 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - - - name: Install dependencies - run: pip install ".[dev]" + - name: Install uv + uses: astral-sh/setup-uv@v3 - name: Test with pytest - run: pytest tests + run: uv run --python ${{ matrix.python-version }} --extra dev pytest tests