This commit introduces a test coverage check to the CI pipeline,
which will fail the build if the total coverage is below 60%. A
number of new tests were added to the project to meet this new
threshold. This change helps to maintain code quality by requiring
tests for new code.
The config and archive packages were refactored to make them
more modular and testable. The paths for the config file and the
archive directory are now defined in the main.go file, making
them a concern of the user rather than the package.
Finally, the golangci-lint dependency was removed from the tools.go file, as per the recommendation of the golangci-lint
authors.
This commit introduces a test coverage check to the CI pipeline,
which will fail the build if the total coverage is below 60%. A
number of new tests were added to the project to meet this new
threshold. This change helps to maintain code quality by requiring
tests for new code.
The `config` and `archive` packages were refactored to make them
more modular and testable. The paths for the config file and the
archive directory are now defined in the `main.go` file, making
them a concern of the user rather than the package.
Finally, the `golangci-lint` dependency was removed from the
`tools.go` file, as per the recommendation of the `golangci-lint`
authors.
This commit introduces a test coverage check to the CI pipeline,
which will fail the build if the total coverage is below 60%. A
number of new tests were added to the project to meet this new
threshold. This change helps to maintain code quality by requiring
tests for new code.
The `config` and `archive` packages were refactored to make them
more modular and testable. The paths for the config file and the
archive directory are now defined in the `main.go` file, making
them a concern of the user rather than the package.
Finally, the `golangci-lint` dependency was removed from the
`tools.go` file, as per the recommendation of the `golangci-lint`
authors.
eleith
merged commit 8ddbe32bb0 into main2025-07-23 00:48:29 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This commit introduces a test coverage check to the CI pipeline,
which will fail the build if the total coverage is below 60%. A
number of new tests were added to the project to meet this new
threshold. This change helps to maintain code quality by requiring
tests for new code.
The
configandarchivepackages were refactored to make themmore modular and testable. The paths for the config file and the
archive directory are now defined in the
main.gofile, makingthem a concern of the user rather than the package.
Finally, the
golangci-lintdependency was removed from thetools.gofile, as per the recommendation of thegolangci-lintauthors.