diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9af10c7..f805494 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,22 +7,18 @@ jobs: test: name: Test runs-on: ubuntu-latest + strategy: + matrix: + python-version: ['3.10', 3.11, 3.12, 3.13] + env: + UV_PYTHON: ${{ matrix.python-version }} steps: - uses: actions/checkout@master - - uses: actions/setup-python@v4 - with: - python-version: ${{ matrix.python-version }} - name: Install uv uses: astral-sh/setup-uv@v5 - - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install tox tox-gh-actions - - name: Test with tox - run: tox - env: - PLATFORM: ${{ matrix.platform }} - strategy: - matrix: - python-version: ['3.10', 3.11, 3.12, 3.13] + with: + python-version: ${{ matrix.python-version }} + - name: Install the project + run: uv sync --all-extras --dev + - name: Run tests + run: uv run pytest tests