From dd31783a7a48c9938ad5aa140c92ac69b771b1cd Mon Sep 17 00:00:00 2001 From: Popescu V <136721202+popescu-v@users.noreply.github.com> Date: Wed, 18 Dec 2024 17:35:19 +0100 Subject: [PATCH] Make Windows integration tests CI workflow fail on first test failure --- .github/workflows/unit-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 2f726fd0..6abea421 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -231,6 +231,8 @@ jobs: shell: pwsh run: | $ErrorActionPreference = 'Stop' + Set-StrictMode -Version Latest + $PSNativeCommandUseErrorActionPreference = $true # Refresh environment variables by using the Chocolatey tool # Otherwise, the env vars set in the registry by the Khiops installer do not get updated