Skip to content

Commit

Permalink
fix linux path
Browse files Browse the repository at this point in the history
  • Loading branch information
snakex64 committed Sep 20, 2024
1 parent b940456 commit c63e807
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,4 @@ jobs:

- name: Test
working-directory: ./src/NodeDev.EndToEndTests
env:
NodeDevServerPath: ../NodeDev.Blazor.Server
run: dotnet test --no-build --verbosity normal
3 changes: 1 addition & 2 deletions src/NodeDev.EndToEndTests/Hooks/Hooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,12 @@ public static async Task StartServer()
{
// start the server using either a environment variable set by the CI, or a default path.
// The default path will work if you're running the tests from Visual Studio.
throw new Exception(Environment.CurrentDirectory);
App = Process.Start(new ProcessStartInfo()
{
CreateNoWindow = false,
FileName = "dotnet",
Arguments = "run --no-build",
WorkingDirectory = @"..\..\..\..\NodeDev.Blazor.Server",
WorkingDirectory = "../../../../NodeDev.Blazor.Server",
})!;
}

Expand Down

0 comments on commit c63e807

Please sign in to comment.