diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 194a8d6..30a1e8d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,26 +10,17 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.7', '3.8', '3.9'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 - with: - python-version: ${{ matrix.python-version }} - architecture: x64 + - name: Install uv + uses: astral-sh/setup-uv@v3 - - name: Install poetry - run: | - python -m pip install --upgrade pip - curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python - - source $HOME/.poetry/env - poetry --version + - name: Set up Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Run tests run: | - source $HOME/.poetry/env - poetry run python --version - poetry install -v - poetry run pytest -s -vv --cov=padpo + uv run pytest -s -vv --cov=padpo