CI / test (push) Canceled after 0s
Set up the codeberg-to-gitea-migrator project: Python package with src/ layout (hatchling, ruff, pytest), GPL-3.0-or-later license, CITATION.cff, README, ADRs for stack/license/forge, and DOX-structured AGENTS.md. Add Gitea Actions CI. The package is a stub; migration modules land in follow-up commits.
29 lines
591 B
Markdown
29 lines
591 B
Markdown
# tests
|
|
|
|
## Purpose
|
|
|
|
Pytest suite for `codeberg_to_gitea_migrator`. Currently a smoke test asserting
|
|
the package imports and reports its version.
|
|
|
|
## Ownership
|
|
|
|
Project maintainer (Alexander Kucera).
|
|
|
|
## Local Contracts
|
|
|
|
- pytest `testpaths = ["tests"]` (root `pyproject.toml`).
|
|
- Test files named `test_*.py`; test functions `test_*`.
|
|
|
|
## Work Guidance
|
|
|
|
- Add focused tests alongside each migration module.
|
|
- Keep network calls behind a fake/recorded client — do not hit live Codeberg/Gitea from tests.
|
|
|
|
## Verification
|
|
|
|
- `pytest` from the repo root.
|
|
|
|
## Child DOX Index
|
|
|
|
- No children.
|