Skip to content

Commit

Permalink
Update to spec version 2025-01 (#37)
Browse files Browse the repository at this point in the history
Update the .NET SDK to use the 2025-01 API version

---------

Co-authored-by: Niels Swimberghe <[email protected]>
  • Loading branch information
fern-support and Swimburger authored Feb 3, 2025
1 parent 1fe6f12 commit a420d98
Show file tree
Hide file tree
Showing 90 changed files with 3,516 additions and 650 deletions.
8 changes: 5 additions & 3 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
src/Pinecone/PineconeClient.cs
src/Pinecone/Core/Public/SourceTagOption.cs
src/Pinecone/Core/Public/IsTlsEnabledOption.cs
src/Pinecone/Types/Embedding.cs
src/Pinecone.Test/Integration
src/Pinecone.Test/Unit/EmbeddingTest.cs
src/Pinecone.Test/Unit/AdditionalPropertiesTest.cs
src/Pinecone.Test/Unit/UserAgentTest.cs
src/Pinecone.Test/Unit/UnexpectedErrorTest.cs
src/Pinecone.Test/Unit/MockServer/EmbedTest.cs
.github/workflows/ci.yml

# The following file should always be .fernignore'd.

CONTRIBUTING.md
README.md
icon.png
LICENSE
src/Pinecone/Pinecone.Custom.props
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,45 +44,45 @@ jobs:
- name: Run Unit Tests
run: |
dotnet test src --filter "FullyQualifiedName~Pinecone.Test.Unit"
dotnet test src --filter "(FullyQualifiedName~Pinecone.Test.Unit) | (FullyQualifiedName~Pinecone.Test.Core)"
integration-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- uses: actions/checkout@master

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x

- name: Install tools
run: |
dotnet tool restore
- name: Run Integration Tests
env:
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
run: |
dotnet test src --filter "FullyQualifiedName~Pinecone.Test.Integration"
publish:
needs: [compile]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
runs-on: ubuntu-latest

steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 8.x

- name: Publish
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
Expand Down
Loading

0 comments on commit a420d98

Please sign in to comment.