docs: add CI expectations to CLAUDE.md and README.md
All checks were successful
CI / Format, lint, build, test (push) Successful in 2m6s
CI / Build SRPM (push) Has been skipped
CI / Publish to COPR (push) Has been skipped

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-14 18:27:17 +03:00
parent 6bb3004cfc
commit 3ad8c72276
2 changed files with 28 additions and 0 deletions

View File

@@ -103,6 +103,21 @@ cargo test # run all tests
cargo clippy --workspace # lint cargo clippy --workspace # lint
``` ```
## CI
Gitea Actions runs on every push to any branch. All three checks must
pass before merging:
```sh
cargo fmt --check --all # formatting
cargo clippy --workspace -- -D warnings # lint (warnings are errors)
cargo test --workspace # tests
```
Run these locally before pushing. `cargo fmt --all` fixes formatting
automatically. Clippy warnings must be resolved, not suppressed with
`#[allow(...)]` unless there is a clear rationale.
## Environment ## Environment
- Targets Fedora 43 (systemd, SELinux enforcing) - Targets Fedora 43 (systemd, SELinux enforcing)

View File

@@ -120,6 +120,19 @@ pinned = ["your-org/embedding-model"]
cargo build --release cargo build --release
``` ```
## CI
Every push triggers format, lint, and test checks. Ensure these pass
locally before pushing:
```sh
cargo fmt --check --all # must be clean
cargo clippy --workspace -- -D warnings # warnings are errors
cargo test --workspace # all tests must pass
```
Tagged releases (`v*`) additionally build an SRPM and publish to COPR.
## Running ## Running
```sh ```sh