Thank you for your interest in contributing! This document explains how to get started.
git clone https://github.com/cohere-ai/cvm-measure.git
cd cvm-measure
pip install -e ".[dev]"
pre-commit installpython -m pytest tests/ -vSome tests require binary fixtures (OVMF firmware, UKI, CCEL) that are
not checked into the repository due to size. Tests that need missing
fixtures are automatically skipped. See the READMEs in
tests/fixtures/ for how to obtain them.
This project uses:
All checks run automatically via pre-commit hooks on every commit.
We follow Conventional Commits. The pre-commit hook enforces this via commitizen. Examples:
feat: add AMD SEV-SNP supportfix: handle firmware files with no TDX metadatarefactor: simplify CCEL parserdocs: update baseline instructions
- Fork the repository and create a branch from
main. - Make your changes and add tests for new functionality.
- Ensure all tests pass and pre-commit hooks are clean.
- Open a pull request with a clear description of the change.
Open a GitHub issue with steps to reproduce, expected behavior, and actual behavior.
By contributing, you agree that your contributions will be licensed under the Apache License 2.0.