Skip to content

Commit b246cef

Browse files
authored
Merge pull request #81 from nanotaboada/chore/coverage-targets
chore(coverage): remove pre-seeded DB and tune Codecov targets
2 parents 6e7576a + f19ef7a commit b246cef

4 files changed

Lines changed: 10 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/target
2+
/storage/
23
.claude/settings.local.json
4+
.envrc

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616
### Changed
1717

1818
- Consolidated `commitlint`, `format`, and `lint` CI jobs into a single `lint` job (#42)
19+
- `codecov.yml` `ignore` list extended with `src/**/mod.rs` to exclude module re-exports from coverage reporting (#78)
20+
- `codecov.yml` comment updated to reflect goal of maximum coverage on business logic layers (#78)
1921

2022
### Fixed
2123

2224
### Removed
2325

26+
- Pre-seeded `storage/players-sqlite3.db` file and `storage/` directory from repository; Diesel `embed_migrations!()` initialises and seeds the database on first start (#79)
27+
- `storage/` and `.envrc` added to `.gitignore` to prevent runtime database files and local environment secrets from being tracked (#79)
28+
2429
## [1.1.0 - Benzema] - 2026-04-08
2530

2631
### Added

codecov.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Codecov Configuration
2-
# Goal: 80% minimum coverage on services/, routes/, repositories/ only
2+
# Goal: maximum coverage on business logic layers (services/, routes/, repositories/)
3+
# Excludes generated code, entry points, infrastructure wiring, and module re-exports
34

45
coverage:
56
status:
@@ -24,6 +25,7 @@ ignore:
2425
- "src/schema.rs"
2526
- "src/state/**/*"
2627
- "src/main.rs"
28+
- "src/**/mod.rs"
2729
- "**/*.toml"
2830
- "**/*.yml"
2931
- "**/*.yaml"

storage/players-sqlite3.db

-16 KB
Binary file not shown.

0 commit comments

Comments
 (0)