Skip to content

Commit

Permalink
ci: Add codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Dec 4, 2023
1 parent 6698193 commit 0e1e3c6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
run: |
make coverage
# Uncomment the following lines when codecov secret is uploaded
# - name: Upload unit coverage to Codecov
# uses: codecov/codecov-action@v3
# with:
# token: ${{secrets.CODECOV_TOKEN}}
# flags: unit
# files: coverage.cov
# verbose: false
- name: Upload unit coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
flags: unit
files: coverage.cov
verbose: false
3 changes: 3 additions & 0 deletions info/test/parser_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ var err error

var AsInfo *info.AsInfo

// Running this benchmark will generate an as_info.json file against the server
// ip address and port specified in the AerospikeHost() function. GetASInfo
// returns "stats", "config", and "metadata" information from the server.
func BenchmarkAsParser__map(b *testing.B) {
b.ReportAllocs()
b.ResetTimer()
Expand Down

0 comments on commit 0e1e3c6

Please sign in to comment.