Skip to content

build(deps-dev): bump pytest from 9.0.3 to 9.1.0 #665

build(deps-dev): bump pytest from 9.0.3 to 9.1.0

build(deps-dev): bump pytest from 9.0.3 to 9.1.0 #665

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Continuous Integration (Python)
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.14"] # Add more Python versions to test here
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Install uv
uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --all-groups
- name: Lint with ruff
run: uv run ruff check . --output-format=github
- name: Check types with ty
run: uv run ty check . --output-format=github
- name: Test with pytest
run: uv run pytest .
- name: Upload coverage report
if: always() && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository)
uses: actions/upload-code-coverage@abb5995db9e0199b0e2bb9dbd136fce4cb1ec4d3 # v1.3.0
with:
file: coverage.xml
language: Python
label: code-coverage/pytest