Skip to content

Commit

Permalink
Update action
Browse files Browse the repository at this point in the history
  • Loading branch information
sevensolutions committed Sep 7, 2024
1 parent f9f7e69 commit 745b00d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,10 @@ jobs:
with:
name: nomad_iis
path: artifacts

- name: Test plugin
run: artifacts\nomad_iis.exe

# TODO: -p:DefineConstants="MANAGEMENT_API"
#- name: Run tests
# #run: dotnet test src\NomadIIS.Tests\NomadIIS.Tests.csproj -e TEST_PLUGIN_DIRECTORY=artifacts
# run: Start-Process dotnet -Verb runAs -Wait -ArgumentList "test src\NomadIIS.Tests\NomadIIS.Tests.csproj -e TEST_PLUGIN_DIRECTORY=artifacts"
- name: Run tests
run: |
$script = "dotnet test src\NomadIIS.Tests\NomadIIS.Tests.csproj -e TEST_PLUGIN_DIRECTORY=artifacts"
$script | Out-File test.ps1
.\test.ps1 -RunAsAdmin

0 comments on commit 745b00d

Please sign in to comment.