diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d4bcc5c..90a86e9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index f2134f6..70d3a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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