File tree Expand file tree Collapse file tree 7 files changed +13
-9
lines changed Expand file tree Collapse file tree 7 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ jobs:
3232 - name : Restore tools
3333 run : dotnet tool restore --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
3434
35- - name : Run live tests
35+ - name : Run recorded tests
3636 run : dotnet test ./tests/OpenAI.Tests.csproj
3737 --configuration Release
38- --filter="TestCategory=Chat"
38+ --filter="( TestCategory=Chat|TestCategory=Embeddings|TestCategory=Responses)&TestCategory!=MPFD "
3939 --logger "trx;LogFilePrefix=live"
4040 --results-directory ${{github.workspace}}/artifacts/test-results
4141 ${{ env.version_suffix_args}}
Original file line number Diff line number Diff line change @@ -40,25 +40,25 @@ jobs:
4040 run : dotnet tool restore --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json
4141
4242 # Pack the client NuGet package and include URL back to the repository and release tag
43- - name : Build and Pack
43+ - name : Build and pack
4444 run : dotnet pack
4545 --configuration Release
4646 --output "${{ github.workspace }}/artifacts/packages"
4747 /p:PackageProjectUrl="${{ github.server_url }}/${{ github.repository }}/tree/${{ github.event.release.tag_name }}"
4848 /p:PackageReleaseNotes="${{ github.server_url }}/${{ github.repository }}/blob/${{ github.event.release.tag_name }}/CHANGELOG.md"
4949 ${{ env.version_suffix_args }}
5050
51- - name : Unit Test
51+ - name : Run unit tests
5252 run : dotnet test
5353 --configuration Release
5454 --filter="TestCategory=Smoke&TestCategory!=Manual"
5555 --logger "trx;LogFileName=${{ github.workspace }}/artifacts/test-results/smoke.trx"
5656 ${{ env.version_suffix_args }}
5757
58- - name : Run Live Tests
58+ - name : Run recorded tests
5959 run : dotnet test ./tests/OpenAI.Tests.csproj
6060 --configuration Release
61- --filter="TestCategory!=Smoke& TestCategory!=Assistants& TestCategory!=StoredChat &TestCategory!=Images&TestCategory!=Uploads&TestCategory!=Moderations&TestCategory!=FineTuning&TestCategory!=Containers&TestCategory!=Conversation&TestCategory!=MCP&TestCategory!=Manual "
61+ --filter="( TestCategory=Chat| TestCategory=Embeddings| TestCategory=Responses) &TestCategory!=MPFD "
6262 --logger "trx;LogFilePrefix=live"
6363 --results-directory ${{ github.workspace }}/artifacts/test-results
6464 ${{ env.version_suffix_args }}
@@ -121,7 +121,7 @@ jobs:
121121 path : ${{ github.workspace }}/build-artifacts
122122
123123 deploy :
124- name : Publish Package
124+ name : Publish package
125125 needs : sign
126126 runs-on : ubuntu-latest
127127 steps :
Original file line number Diff line number Diff line change 1111
1212namespace OpenAI . Tests . Chat ;
1313
14- [ Category ( "StoredChat" ) ]
14+ [ Category ( "Chat" ) ]
15+ [ Category ( "ChatStore" ) ]
1516public class ChatStoreTests : OpenAIRecordedTestBase
1617{
1718 public ChatStoreTests ( bool isAsync ) : base ( isAsync )
Original file line number Diff line number Diff line change @@ -786,6 +786,7 @@ public async Task WebSearchWorks()
786786 }
787787
788788 [ RecordedTest ]
789+ [ Category ( "MPFD" ) ]
789790 public async Task FileIdContentWorks ( )
790791 {
791792 OpenAIFileClient fileClient = GetProxiedOpenAIClient < OpenAIFileClient > ( TestScenario . Files ) ;
Original file line number Diff line number Diff line change 1414namespace OpenAI . Tests . Chat ;
1515
1616[ Category ( "Chat" ) ]
17+ [ Category ( "ChatTools" ) ]
1718public class ChatToolTests : OpenAIRecordedTestBase
1819{
1920 public enum SchemaPresence { WithSchema , WithoutSchema }
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ namespace OpenAI.Tests.Responses;
1313#pragma warning disable OPENAICUA001
1414
1515[ Category ( "Responses" ) ]
16+ [ Category ( "ResponsesStore" ) ]
1617public partial class ResponseStoreTests : OpenAIRecordedTestBase
1718{
1819 public ResponseStoreTests ( bool isAsync ) : base ( isAsync )
Original file line number Diff line number Diff line change 1818namespace OpenAI . Tests . Responses ;
1919
2020[ Category ( "Responses" ) ]
21- [ Category ( "MCP " ) ]
21+ [ Category ( "ResponsesTools " ) ]
2222public partial class ResponsesToolTests : OpenAIRecordedTestBase
2323{
2424 public ResponsesToolTests ( bool isAsync ) : base ( isAsync )
You can’t perform that action at this time.
0 commit comments