Skip to content

Commit

Permalink
Merge pull request #64
Browse files Browse the repository at this point in the history
Handle missing services/methods on server, close #63.
  • Loading branch information
theRainbird committed Jul 2, 2024
2 parents 94d3394 + f0779f7 commit 4a27154
Show file tree
Hide file tree
Showing 7 changed files with 339 additions and 170 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: .NET

on:
push:
# branches:
# - master
# - release/*
pull_request:
branches:
- master
- release/*

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
7.0.x
8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
2 changes: 1 addition & 1 deletion CoreRemoting.Tests/RemotingServicesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void Marshal_should_register_a_service_instance()
var testService = new TestService();

using var server = new RemotingServer();
server.Start();
server.Start();

string serviceName =
RemotingServices.Marshal(testService, "test", typeof(ITestService), server.UniqueServerInstanceName);
Expand Down
Loading

0 comments on commit 4a27154

Please sign in to comment.