Skip to content

Commit

Permalink
More flexible is-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
zmoon committed Aug 7, 2024
1 parent f350ef0 commit 6f2ed7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

@pytest.fixture(scope="session")
def is_ci():
return os.environ.get("CI", "false").lower() == "true"
return os.environ.get("CI", "false").lower() in {"true", "yes", "1", ""}

0 comments on commit 6f2ed7a

Please sign in to comment.