Skip to content

Commit 0f984fa

Browse files
committed
Bump extra-platforms to skip mas unicode test on GitHub CI
1 parent 01bc75e commit 0f984fa

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

β€Žpyproject.tomlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ dependencies = [
9595
"boltons ~= 25.0.0",
9696
"click-extra ~= 4.15.0",
9797
"cyclonedx-python-lib [validation] ~= 10.0.0",
98-
"extra-platforms [pytest] ~= 2.1.0",
98+
"extra-platforms [pytest] ~= 3.2.0",
9999
"more-itertools ~= 10.7.0",
100100
"packageurl-python ~= 0.16.0",
101101
"spdx-tools ~= 0.8.2",

β€Žtests/test_cli_search.pyβ€Ž

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@
2424

2525
import pytest
2626
from boltons.iterutils import same
27-
from extra_platforms.pytest import unless_macos # type: ignore[attr-defined]
27+
from extra_platforms.pytest import ( # type: ignore[attr-defined]
28+
skip_github_ci,
29+
unless_macos,
30+
)
2831

2932
from meta_package_manager.base import Operations, Package
3033
from meta_package_manager.pool import pool
@@ -83,6 +86,7 @@ def test_json_parsing(self, invoke, subcmd):
8386
assert isinstance(pkg[f], str) or pkg[f] is None
8487

8588
@unless_macos
89+
@skip_github_ci
8690
def test_unicode_search(self, invoke):
8791
"""Check ``mpm`` is accepting unicode as search query.
8892
@@ -102,6 +106,10 @@ def test_unicode_search(self, invoke):
102106
╰────────────┴───────────────────┴─────────┴────────────────╯
103107
104108
Test originates from #16.
109+
110+
.. caution::
111+
Test is skipped on GitHub Actions as ``mas`` does not have access there
112+
to a registered account on the App Store. So the search returns no results.
105113
"""
106114
result = invoke("--mas", "search", "ι’‰")
107115
assert result.exit_code == 0

β€Žuv.lockβ€Ž

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)