Skip to content

Commit

Permalink
Enable download test on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
twangboy committed Sep 24, 2024
1 parent 0007447 commit d6eae86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion tests/pytests/pkg/download/test_pkg_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,6 @@ def salt_test_command(request, install_dir):
return command


@pytest.mark.skip_on_windows(reason="This is flaky on Windows")
@pytest.mark.parametrize("salt_test_command", get_salt_test_commands(), indirect=True)
def test_download(shell, salt_test_command):
"""
Expand Down
7 changes: 4 additions & 3 deletions tools/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,8 +859,9 @@ def pkg_matrix(
# Uses a jmespath expression to test if the wanted version is in any of the filenames
key_filter = f"Contents[?contains(Key, '{version}')][]"
if pkg_type == "MSI":
# TODO: Add this back when we add MSI upgrade and downgrade tests
# key_filter = f"Contents[?contains(Key, '{version}')] | [?ends_with(Key, '.msi')]"
key_filter = (
f"Contents[?contains(Key, '{version}')] | [?ends_with(Key, '.msi')]"
)
continue
elif pkg_type == "NSIS":
key_filter = (
Expand Down Expand Up @@ -897,7 +898,7 @@ def pkg_matrix(
and "macos" in distro_slug
and "arm64" in distro_slug
):
ctx.warn("Forks don't have access to MacOS 13 Arm64. Clearning the matrix.")
ctx.warn("Forks don't have access to MacOS 13 Arm64. Clearing the matrix.")
_matrix.clear()

if not _matrix:
Expand Down

0 comments on commit d6eae86

Please sign in to comment.