Skip to content

Commit

Permalink
Refactor smoke test script in workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nenad0707 committed Mar 18, 2024
1 parent c7e7a6a commit 0640790
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
$container = New-PesterContainer `
-Path 'Website.Tests.ps1' `
-Data @{ HostName = '${{needs.deploy.outputs.appServiceDefaultHostName}}' }
Invoke-Pester `
-Container $container `
-CI
-Script @{ Path = 'Website.Tests.ps1'; Parameters = @{ HostName = '${{needs.deploy.outputs.appServiceDefaultHostName}}' } } `
-CI
name: Run smoke tests
shell: pwsh

0 comments on commit 0640790

Please sign in to comment.