Skip to content

Commit

Permalink
fix: generate coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
op committed May 11, 2024
1 parent 2d72611 commit a585cfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: make coverage
- uses: codecov/codecov-action@v4.0.1
with:
file: ./build/coverage.txt
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ check:
@go list -m -f '{{.Dir}}' | parallel 'go test {}/...'

coverage:
@mkdir -p build/
go test -coverpkg=./...,./pkg/catppuccin,./internal/logtheme,./internal/themes -covermode=atomic -coverprofile=build/coverage.txt ./... ./pkg/catppuccin/... ./internal/logtheme ./internal/themes

generate:
Expand Down

0 comments on commit a585cfd

Please sign in to comment.