Skip to content

Commit

Permalink
allow manual kick-off of unit tests (#30)
Browse files Browse the repository at this point in the history
* allow manual kick-off of unit tests

* use unique index names for tests per sdk
  • Loading branch information
sovren-jwesson authored Jul 13, 2021
1 parent a634af6 commit 6b89d0c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- master
workflow_dispatch: #add this option in case we change credentials/account settings and want to re-run tests

jobs:
tests:
Expand Down
4 changes: 2 additions & 2 deletions src/Sovren.SDK.Tests/IntegrationTests/AIMatchingTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ namespace Sovren.SDK.Tests.IntegrationTests
{
public class AIMatchingTests : TestBase
{
private const string _jobIndexId = "SDK-job-" + nameof(AIMatchingTests);
private const string _resumeIndexId = "SDK-resume-" + nameof(AIMatchingTests);
private const string _jobIndexId = "dotnet-SDK-job-" + nameof(AIMatchingTests);
private const string _resumeIndexId = "dotnet-SDK-resume-" + nameof(AIMatchingTests);
private const string _documentId = "1";

private readonly List<string> _resumesIndexes = new List<string>() { _resumeIndexId };
Expand Down
4 changes: 2 additions & 2 deletions src/Sovren.SDK.Tests/IntegrationTests/IndexTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ namespace Sovren.SDK.Tests.IntegrationTests
{
public class IndexTests : TestBase
{
const string resumeIndexId = "SDK-IntegrationTest-Resume";
const string jobIndexId = "SDK-IntegrationTest-Job";
const string resumeIndexId = "dotnet-SDK-IntegrationTest-Resume";
const string jobIndexId = "dotnet-SDK-IntegrationTest-Job";

private static string GetIndexName(IndexType indexType)
{
Expand Down

0 comments on commit 6b89d0c

Please sign in to comment.