Skip to content

Commit

Permalink
ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jh123x committed Oct 21, 2023
1 parent 5065e84 commit bc27a50
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,14 @@ jobs:
run: go build -v ./...

- name: Test
run: go test -v ./...
run: go test -v ./... -coverprofile=./coverage.out

- name: check test coverage
uses: vladopajic/go-test-coverage@v2
with:
# Configure action by specifying input parameters individually (option 2)
profile: coverage.out
local-prefix: github.com/Jh123x/go-validate
threshold-file: 80
threshold-package: 80
threshold-total: 95

0 comments on commit bc27a50

Please sign in to comment.