Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET enable windows on intergration test #4622

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert global.json
LittleLittleCloud committed Dec 9, 2024
commit e174a69dd7261a983c8e6547a12ebbc4aacd79cb
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-build.yml
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ jobs:
- name: Prepare python venv
run: |
source ${{ github.workspace }}/python/.venv/bin/activate
- name: Setup .NET 8.0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
global-json-file: dotnet/global.json
2 changes: 1 addition & 1 deletion dotnet/global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"sdk": {
"version": "9.0.101",
"version": "8.0.401",
"rollForward": "latestMinor"
}
}
4 changes: 2 additions & 2 deletions dotnet/samples/Hello/HelloAgent/appsettings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Warning",
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Orleans": "Warning"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -63,9 +63,12 @@ async def main() -> None:
topic_id=DefaultTopicId("agents.Output", "HelloAgents/python"),
sender=AgentId("HelloAgents", "python"),
)
await runtime.stop_when_signal()
# await runtime.stop_when_idle()

try:
await runtime._read_task
except KeyboardInterrupt:
print("KeyboardInterrupt")
await runtime.stop()

if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)