Skip to content

Bump idna from 3.11 to 3.15 #15

Bump idna from 3.11 to 3.15

Bump idna from 3.11 to 3.15 #15

Workflow file for this run

name: CI
on:
pull_request:
branches: [master]
push:
branches: [master]
permissions:
contents: read
# Note: astral-sh/setup-uv uses @v6 tag per enterprise policy requirements
# CodeQL unpinned action warnings are suppressed via .github/codeql-config.yml
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync --frozen --extra dev
- name: Run ruff check
run: |
uv run ruff check src tests --output-format=github
- name: Run ruff format check
run: uv run ruff format --check src tests
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync --frozen --extra dev
- name: Run tests
run: uv run pytest -v
- name: Run tests with coverage
if: matrix.python-version == '3.11'
run: |
uv run pytest --cov=cinder --cov-report=term --cov-report=xml
- name: Upload coverage to artifacts
if: matrix.python-version == '3.11'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml