Skip to content

Commit

Permalink
update INTEGREATION_PINECONE_API_KEY to TEST_ to match with the assoc…
Browse files Browse the repository at this point in the history
…iated env values
  • Loading branch information
austin-denoble committed May 15, 2024
1 parent fc13ea1 commit db00a6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
PINECONE_API_KEY="<Project API Key>"
TEST_PINECONE_API_KEY="<Test Project API Key>"
TEST_POD_INDEX_NAME="<Pod based Index name>"
TEST_SERVERLESS_INDEX_NAME="<Serverless based Index name>"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
env:
TEST_POD_INDEX_NAME: ${{ secrets.TEST_POD_INDEX_NAME }}
TEST_SERVERLESS_INDEX_NAME: ${{ secrets.TEST_SERVERLESS_INDEX_NAME }}
INTEGRATION_PINECONE_API_KEY: ${{ secrets.API_KEY }}
TEST_PINECONE_API_KEY: ${{ secrets.API_KEY }}
2 changes: 1 addition & 1 deletion pinecone/index_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ type IndexConnectionTests struct {

// Runs the test suite with `go test`
func TestIndexConnection(t *testing.T) {
apiKey := os.Getenv("INTEGRATION_PINECONE_API_KEY")
apiKey := os.Getenv("TEST_PINECONE_API_KEY")
assert.NotEmptyf(t, apiKey, "API_KEY env variable not set")

client, err := NewClient(NewClientParams{ApiKey: apiKey})
Expand Down

0 comments on commit db00a6d

Please sign in to comment.