From 1068046b9ecb4bc816360d3a9bafd38c1aa574e0 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Wed, 1 Oct 2025 08:55:05 +0200 Subject: [PATCH] Test Before After All --- .github/workflows/Process-PSModule.yml | 2 +- tests/AfterAll.ps1 | 8 ++++++++ tests/BeforeAll.ps1 | 8 ++++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tests/AfterAll.ps1 create mode 100644 tests/BeforeAll.ps1 diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 6178750..478f29d 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -26,5 +26,5 @@ permissions: jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v4 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@copilot/fix-169 secrets: inherit diff --git a/tests/AfterAll.ps1 b/tests/AfterAll.ps1 new file mode 100644 index 0000000..f336f49 --- /dev/null +++ b/tests/AfterAll.ps1 @@ -0,0 +1,8 @@ +Write-Host '=== AFTERALL TEARDOWN SCRIPT (Environments) EXECUTING ===' +Write-Host 'Tearing down test environment for Environments...' + +# Example teardown tasks for Environments directory: +Write-Host 'Cleaning up Environments test environment...' + +Write-Host 'Environments environment teardown completed successfully!' +Write-Host '=== AFTERALL TEARDOWN SCRIPT (Environments) COMPLETED ===' diff --git a/tests/BeforeAll.ps1 b/tests/BeforeAll.ps1 new file mode 100644 index 0000000..2d06d3d --- /dev/null +++ b/tests/BeforeAll.ps1 @@ -0,0 +1,8 @@ +Write-Host '=== BEFOREALL SETUP SCRIPT (Environments) EXECUTING ===' +Write-Host 'Setting up test environment for Environments...' + +# Example setup tasks for Environments directory: +Write-Host 'Initializing Environments test environment...' + +Write-Host 'Environments environment setup completed successfully!' +Write-Host '=== BEFOREALL SETUP SCRIPT (Environments) COMPLETED ==='