Skip to content

refactor: change HData.clone() to follow codebase paractices #49

refactor: change HData.clone() to follow codebase paractices

refactor: change HData.clone() to follow codebase paractices #49

Workflow file for this run

name: Coverage
on:
push:
branches: [main]
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 2
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.14"
- name: Install uv
uses: astral-sh/setup-uv@v7
- name: Install dependencies
run: |
uv venv
uv pip install -e .
- name: Run tests with coverage
run: |
uv run pytest --cov --cov-branch --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Test with pytest
run: |
uv run pytest --cov --junitxml=junit.xml
- name: Upload test results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results
files: junit.xml