ci(py-test): Adjust naming in workflow #76
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Python- Release | |
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: | |
py-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 |