Skip to content

Commit

Permalink
ci: test coverage as a metric to consider with code changes (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
zimeg authored Sep 3, 2024
1 parent ef94697 commit eae5463
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ jobs:
- name: Build binary
run: nix develop -c make build
- name: Run tests
run: nix develop -c go test -v ./...
run: nix develop -c go test -v ./... -coverprofile=coverage.txt
- name: Upload coverage results
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
measurement:
name: Monitor energy usage
needs: checkup
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ to [Semantic Versioning][semver].

- Set the `go` version to a fixed `1.22.6` for the toolchain
- Update token authentication to use the latest Cognito SDK
- Test coverage as a metric to at least consider with changes

## [1.1.0] - 2024-08-03

Expand Down

0 comments on commit eae5463

Please sign in to comment.