Skip to content

Commit

Permalink
Merge branch 'main' into feature/management-api
Browse files Browse the repository at this point in the history
  • Loading branch information
sevensolutions committed Sep 7, 2024
2 parents 44e0f1e + 8121e11 commit a244507
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build:
Expand Down
8 changes: 7 additions & 1 deletion src/NomadIIS.Tests/NomadIISFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,13 @@ public async Task InitializeAsync ()
{
var nomadDirectory = Path.GetFullPath( @"..\..\..\..\..\nomad" );
var dataDirectory = Path.Combine( nomadDirectory, "data" );
var pluginDirectory = Path.GetFullPath( @"..\..\..\..\NomadIIS\bin\Debug\net8.0" );

var pluginDir = Environment.GetEnvironmentVariable( "TEST_PLUGIN_DIRECTORY" );
if ( string.IsNullOrEmpty( pluginDir ) )
pluginDir = @"..\..\..\..\NomadIIS\bin\Debug\net8.0";

var pluginDirectory = Path.GetFullPath( pluginDir );

#if MANAGEMENT_API
var configFile = Path.GetFullPath( @"Data\configs\with_api.hcl" );
#else
Expand Down

0 comments on commit a244507

Please sign in to comment.