Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7c423b4

Browse filesBrowse files
authored
Merge pull request #1752 from EliahKagan/ci-macos
Test macOS on CI
2 parents 96acc22 + d15f891 commit 7c423b4
Copy full SHA for 7c423b4

File tree

2 files changed

+4
-2
lines changed
Filter options

2 files changed

+4
-2
lines changed

‎.github/workflows/pythonpackage.yml

Copy file name to clipboardExpand all lines: .github/workflows/pythonpackage.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: ["ubuntu-latest", "windows-latest"]
16+
os: ["ubuntu-latest", "macos-13", "windows-latest"]
1717
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1818
include:
1919
- experimental: false

‎test/test_util.py

Copy file name to clipboardExpand all lines: test/test_util.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,9 @@ def test_blocking_lock_file(self):
398398
elapsed = time.time() - start
399399
extra_time = 0.02
400400
if os.name == "nt" or sys.platform == "cygwin":
401-
extra_time *= 6 # NOTE: Indeterministic failures without this...
401+
extra_time *= 6 # Without this, we get indeterministic failures on Windows.
402+
elif sys.platform == "darwin":
403+
extra_time *= 9 # The situation on macOS is similar, but with more delay.
402404
self.assertLess(elapsed, wait_time + extra_time)
403405

404406
def test_user_id(self):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.