From b64f8fd1fa2a63f01707c784940666d42b53d56e Mon Sep 17 00:00:00 2001 From: William Patton Date: Fri, 25 Oct 2024 11:59:25 -0700 Subject: [PATCH] simplify github test action --- .github/workflows/tests.yaml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 27be1656..96f88b47 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -11,17 +11,12 @@ jobs: fail-fast: false matrix: platform: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] 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]" + - uses: actions/checkout@v4 + - name: Install uv + uses: astral-sh/setup-uv@v3 - name: Test with pytest run: | - pytest tests + uv run --python ${{ matrix.python-version }} --extra dev pytest tests