Skip to content

Commit

Permalink
Increase test coverage (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogmcsteezy committed Sep 27, 2024
1 parent 97c1df4 commit 75ef3da
Show file tree
Hide file tree
Showing 28 changed files with 7,019 additions and 347 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Setup Mocks
run: |
make mocks
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:

run: |
echo "$FEATURES_CONF" > docker/multi-node/config/features.conf
echo "$FEATURES_CONF" > docker/vanilla/config/features.conf
echo "$FEATURES_CONF" > docker/tls/config/features.conf
echo "$FEATURES_CONF" > docker/mtls/config/features.conf
echo "$FEATURES_CONF" > docker/auth/config/features.conf
Expand Down
6 changes: 6 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ issues:
- path: '(.+)test\.go'
linters:
- govet # Test code field alignment for sake of space is not a concern
- path: 'token_manager_test.go'
linters:
- goconst # Test code is allowed to have constants
- path: 'connection_provider_test.go'
linters:
- goconst
# - path: dir/sample\.go
# linters:
# - lll # Test code is allowed to have long lines
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![codecov](https://codecov.io/gh/aerospike/avs-client-go/graph/badge.svg?token=811TWWPW6S)](https://codecov.io/gh/aerospike/avs-client-go)

# Aerospike Vector Search Go Client

> :warning: The go client is currently in development. APIs will break in the future!
Expand Down
Loading

0 comments on commit 75ef3da

Please sign in to comment.