diff --git a/.github/workflows/unit_test_workflows.yaml b/.github/workflows/unit_test_workflows.yaml index b3baccf074..05a1c6b5ae 100644 --- a/.github/workflows/unit_test_workflows.yaml +++ b/.github/workflows/unit_test_workflows.yaml @@ -19,20 +19,7 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v4 - - run: Invoke-Pester -Output 'Detailed' -Path 'Testing/workflow/Invoke-PSSA.Tests.ps1' - prbody: - runs-on: windows-latest - defaults: - run: - shell: powershell - steps: - - name: Check out repository code - uses: actions/checkout@v4 - # - name: Run Pester Tests - # run: | - # # This should run all workflow unit tests - # Invoke-Pester -Output 'Detailed' -Path 'Testing/workflow' - - name: Run Invoke PSSA Pester Tests + - name: Run Pester Tests run: | # Source the function . utils/workflow/Invoke-PesterTests.ps1 diff --git a/utils/workflow/Initialize-ScubaGearForTesting.ps1 b/utils/workflow/Initialize-ScubaGearForTesting.ps1 index b34190c501..e61fee6600 100644 --- a/utils/workflow/Initialize-ScubaGearForTesting.ps1 +++ b/utils/workflow/Initialize-ScubaGearForTesting.ps1 @@ -11,4 +11,5 @@ function Initialize-ScubaGearForTesting { Write-Output 'Importing function Initialize-Scuba...' Import-Module (Join-Path -Path $RepoRootPath -ChildPath 'PowerShell/ScubaGear') -Function Initialize-Scuba Write-Output 'Calling Initialize ScubaGear...' - Initialize-SCuBA \ No newline at end of file + Initialize-SCuBA +}