Skip to content

Commit

Permalink
add html to coverage artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillerv committed Dec 10, 2023
1 parent c39b48d commit fbad8e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ jobs:
cache: true

- name: Run Tests
run: go test -json > TestResults.json
run: go test -coverprofile coverage.out && go tool cover -html coverage.out -o coverage.html

- name: Upload test coverage
uses: actions/upload-artifact@v3
with:
name: Unit Test Results
path: TestResults.json
path: coverage.html

# configuration: https://github.com/golangci/golangci-lint-action
golangci:
Expand Down

0 comments on commit fbad8e1

Please sign in to comment.