Skip to content

Commit

Permalink
CI debug
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Dec 4, 2023
1 parent 3f17cc4 commit 7d72f6a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
run: dotnet format --verify-no-changes

- name: Test
run: dotnet test --logger "console;verbosity=detailed" --blame-crash -v n
run: dotnet test --logger "console;verbosity=detailed" --blame-crash -v n -f net6.0

- name: Upload test failure
if: ${{ failure() }}
Expand Down
8 changes: 6 additions & 2 deletions tests/Temporalio.Tests/Worker/WorkflowReplayerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,10 @@ await Assert.ThrowsAsync<InvalidWorkflowOperationException>(async () =>
}

private static string ReadAllFileText(
string relativePath, [CallerFilePath] string sourceFilePath = "") =>
File.ReadAllText(Path.Join(sourceFilePath, "..", relativePath));
string relativePath, [CallerFilePath] string sourceFilePath = "")
{
Console.WriteLine("Reading relative file {0}, based on source path {1}", relativePath, sourceFilePath);
Console.WriteLine(" Source path byte count: {0}", File.ReadAllText(sourceFilePath).Length);
return File.ReadAllText(Path.Join(sourceFilePath, "..", relativePath));
}
}

0 comments on commit 7d72f6a

Please sign in to comment.