Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Sign up
Appearance settings

Commit7c423b4

Browse files
authored
Merge pull request#1752 from EliahKagan/ci-macos
Test macOS on CI
2 parents96acc22 +d15f891 commit7c423b4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

‎.github/workflows/pythonpackage.yml

Lines 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

Lines 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
ifos.name=="nt"orsys.platform=="cygwin":
401-
extra_time*=6# NOTE: Indeterministic failures without this...
401+
extra_time*=6# Without this, we get indeterministic failures on Windows.
402+
elifsys.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
deftest_user_id(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp