Skip to content

Commit

Permalink
Add CodeCov support (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored Mar 12, 2022
1 parent 6849e13 commit 4f4c614
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ jobs:
- name: Test
run: go test -v ./...

- name: Generate code coverage
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.17'
run: go test -race -v -count=1 -coverprofile=coverage.out ./...

- name: Upload Test Coverage
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.17'
uses: codecov/codecov-action@v2
with:
fail_ci_if_error: true

- name: Upload artifact
uses: actions/upload-artifact@v2
with:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Updated Facebook & Instagram endpoints to oembed v10. (#201)
- Added a Chatterino API Privacy Policy and Terms of Service to `/legal/privacy-policy` and `/legal/terms-of-service`. (#253)
- Dev: Disable CodeGQL. (#275)
- Dev: Add CodeCov support. (#276)

## 1.2.1

Expand Down

0 comments on commit 4f4c614

Please sign in to comment.