From 2d35e087c49bcde27b69dfe9dd83b82d4702c729 Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Sat, 7 Dec 2024 20:11:47 +0100 Subject: [PATCH] Adding step to run the Setup with SpecFlow --- .github/workflows/compile.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 12961c3af..079bc8248 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -31,6 +31,11 @@ jobs: - name: Test run: msbuild Orchard.proj /m /v:minimal /t:Test + - name: Test Setup With SpecFlow + run: | + $nunitConsole = (Get-ChildItem -Path 'src/packages' -Recurse -Filter 'nunit-console.exe' | Select-Object -Last 1).FullName + & $nunitConsole 'build/Compile/Orchard.Specs.dll' /xml='build/Orchard.Specs.xml' /run=Orchard.Specs.SetupFeature.RootAndSetupFolderShowsSetupScreenAndFormValuesAreValidated + - name: Run Orchard Setup with Orchard.exe run: | $commandFile = 'src/Orchard.Web/bin/setup-commands.txt'