Skip to content

Commit

Permalink
Merge pull request #19 from msteinert/codecov
Browse files Browse the repository at this point in the history
Another try at adding codecov
  • Loading branch information
msteinert authored Nov 30, 2023
2 parents fb46dfb + 004c700 commit 6339228
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/codecov.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: sudo go test -v ./...
run: sudo go test -v -cover -coverprofile=coverage.out ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
coverage.out
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![GoDoc](https://godoc.org/github.com/msteinert/pam?status.svg)](http://godoc.org/github.com/msteinert/pam)
[![codecov](https://codecov.io/gh/msteinert/pam/graph/badge.svg?token=L1K3UTB065)](https://codecov.io/gh/msteinert/pam)
[![Go Report Card](https://goreportcard.com/badge/github.com/msteinert/pam)](https://goreportcard.com/report/github.com/msteinert/pam)

# Go PAM
Expand Down

0 comments on commit 6339228

Please sign in to comment.