Ignore E2E CI tests on Windows (#11602)

The integration tests are constantly failing on Windows. For the time of investigation, they should be suppressed.
This commit is contained in:
Adam Obuchowicz 2024-11-20 13:25:52 +01:00 committed by somebody1234
parent e983b644f0
commit 1ddf95ab96
2 changed files with 7 additions and 1 deletions

View File

@ -512,6 +512,7 @@ jobs:
ENSO_TEST_USER: ${{ secrets.ENSO_CLOUD_TEST_ACCOUNT_USERNAME }}
ENSO_TEST_USER_PASSWORD: ${{ secrets.ENSO_CLOUD_TEST_ACCOUNT_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
continue-on-error: true
- run: rm $HOME/.enso/credentials
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -546,13 +546,18 @@ impl JobArchetype for PackageIde {
} else {
shell(TEST_COMMAND)
};
let test_step = test_step
let mut test_step = test_step
.with_env("DEBUG", "pw:browser log:")
.with_secret_exposed_as(secret::ENSO_CLOUD_TEST_ACCOUNT_USERNAME, "ENSO_TEST_USER")
.with_secret_exposed_as(
secret::ENSO_CLOUD_TEST_ACCOUNT_PASSWORD,
"ENSO_TEST_USER_PASSWORD",
);
// Make E2E tests optional on Windows, as we have an ongoing issue with the runner.
// TODO[ib]: remove once the issue is resolved.
if target.0 == OS::Windows {
test_step.continue_on_error = Some(true);
}
steps.push(test_step);
// After the E2E tests run, they create a credentials file in user home directory.