Skip to content

Commit

Permalink
ci: test run prov app
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Nov 21, 2024
1 parent 42a8da0 commit d3d5033
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/ProviderPactVerify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install azure-functions-core-tools-4
- run: cd ${{ env.application_folder_provider_tests }} && dotnet test
- run: |
cd provider_azure_function
func start --csharp
- run: |
cd ${{ env.application_folder_provider_tests }}
dotnet test
env:
PACT_URL: ../../../../smartbearcoin-payments-ui/pacts/SmartBearCoin-Payments-UI-SmartBearCoin-Payee-Provider.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static async Task<TemporaryAzureFunctionsApplication> StartNewAsync(Direc

private static Process StartApplication(int port, DirectoryInfo projectDirectory)
{
var appInfo = new ProcessStartInfo("func", $"start --port {port}")
var appInfo = new ProcessStartInfo("func", $"start --port {port} --csharp")
{
UseShellExecute = false,
CreateNoWindow = true,
Expand Down

0 comments on commit d3d5033

Please sign in to comment.