Skip to content

Merge pull request #31 from posit-dev/chore/rename-brand-yml #68

Merge pull request #31 from posit-dev/chore/rename-brand-yml

Merge pull request #31 from posit-dev/chore/rename-brand-yml #68

Workflow file for this run

name: Test - Python
on:
push:
branches: [main]
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- 'uv.lock'
- 'examples/**/*'
- '.github/workflows/py-test.yml'
pull_request:
paths:
- 'pkg-py/**/*'
- 'pyproject.toml'
- 'uv.lock'
- 'examples/**/*'
- '.github/workflows/py-test.yml'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: πŸš€ Install uv
uses: astral-sh/setup-uv@v2
- name: 🐍 Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: πŸ“¦ Install the project
run: uv sync --python ${{ matrix.python-version }} --no-dev --extra test
- name: πŸ§ͺ Check tests
run: make py-check-tests
- name: πŸ“ Check types
run: make py-check-types
- name: πŸ“ Check formatting
run: make py-check-format