Skip to content

Commit 0c11a07

Browse files
committed
Add Embeddings and Responses, exclude MPFD
1 parent 8a77a84 commit 0c11a07

File tree

7 files changed

+8
-4
lines changed

7 files changed

+8
-4
lines changed

.github/workflows/live-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Run live 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}}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
- name: Run Live 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 }}

tests/Chat/ChatStoreTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111

1212
namespace OpenAI.Tests.Chat;
1313

14-
[Category("StoredChat")]
14+
[Category("Chat")]
15+
[Category("ChatStore")]
1516
public class ChatStoreTests : OpenAIRecordedTestBase
1617
{
1718
public ChatStoreTests(bool isAsync) : base(isAsync)

tests/Chat/ChatTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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);

tests/Chat/ChatToolTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
namespace OpenAI.Tests.Chat;
1515

1616
[Category("Chat")]
17+
[Category("ChatTools")]
1718
public class ChatToolTests : OpenAIRecordedTestBase
1819
{
1920
public enum SchemaPresence { WithSchema, WithoutSchema }

tests/Responses/ResponseStoreTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ namespace OpenAI.Tests.Responses;
1313
#pragma warning disable OPENAICUA001
1414

1515
[Category("Responses")]
16+
[Category("ResponsesStore")]
1617
public partial class ResponseStoreTests : OpenAIRecordedTestBase
1718
{
1819
public ResponseStoreTests(bool isAsync) : base(isAsync)

tests/Responses/ResponsesToolTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
namespace OpenAI.Tests.Responses;
1919

2020
[Category("Responses")]
21-
[Category("MCP")]
21+
[Category("ResponsesTools")]
2222
public partial class ResponsesToolTests : OpenAIRecordedTestBase
2323
{
2424
public ResponsesToolTests(bool isAsync) : base(isAsync)

0 commit comments

Comments
 (0)