Skip to content

chore: update clang-format and clang-tidy versions (#155) #563

chore: update clang-format and clang-tidy versions (#155)

chore: update clang-format and clang-tidy versions (#155) #563

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.14", "3.13", "3.12", "3.11", "3.10", "3.9"]
steps:
- name: Checkout
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 #v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c #v5
with:
python-version: ${{ matrix.python-version }}
- name: Setup uv
uses: astral-sh/setup-uv@ed21f2f24f8dd64503750218de024bcf64c7250a # v7.1.5
- name: Install dependencies
run: uv sync --dev
- name: Run tests and collect coverage
run: |-
uv run coverage run --source=tests,cpp_linter_hooks -m pytest -vv
uv run coverage report
uv run coverage xml
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 #v5
if: matrix.python-version == '3.13'
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
- name: Test cpp-linter-hooks
run: bash testing/run.sh