We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7eabb6a commit 48eec70Copy full SHA for 48eec70
tests/test_wrapper.py
@@ -48,9 +48,10 @@ def test_process_files():
48
49
50
@pytest.mark.xfail(
51
- os.environ.get("GITHUB_ACTIONS", "false") == "true",
+ os.environ.get("GITHUB_ACTIONS", "false").lower() == "true",
52
reason="GHA does a shallow clone, without the history needed for this test.",
53
raises=subprocess.CalledProcessError,
54
+ run=False,
55
)
56
def test_diff_files():
57
"""Test whether diff_files picks up the correct files."""
tox.ini
@@ -15,6 +15,7 @@ setenv =
15
passenv =
16
HOME
17
SETUPTOOLS_*
18
+ GITHUB_ACTIONS
19
extras =
20
testing
21
commands =
0 commit comments