Skip to content

Commit 4cbdcd1

Browse files
committed
TEMP: debugging in ci
1 parent 3568659 commit 4cbdcd1

File tree

3 files changed

+73
-68
lines changed

3 files changed

+73
-68
lines changed

.github/workflows/main.yml

Lines changed: 66 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -24,73 +24,73 @@ jobs:
2424
strategy:
2525
matrix:
2626
task:
27-
- check-whole-repo-tests
28-
- lint
29-
- check-format
27+
# - check-whole-repo-tests
28+
# - lint
29+
# - check-format
3030
- check-coverage
31-
- check-conjecture-coverage
32-
- check-py39-cover
33-
- check-pypy39-cover
34-
- check-py310-cover
35-
- check-py310-nocover
36-
- check-py310-niche
37-
- check-pypy310-cover
38-
# - check-py310-pyjion # see notes in tox.ini
39-
- check-py311-cover
40-
- check-py311-nocover
41-
- check-py311-niche
42-
- check-py312-cover
43-
- check-py312-nocover
44-
- check-py312-niche
45-
- check-py313-cover
46-
- check-py313-nocover
47-
- check-py313-niche
48-
- check-py313t-cover
49-
- check-py313t-nocover
50-
- check-py313t-niche
51-
# - check-py314-cover
52-
# - check-py314-nocover
53-
# - check-py314-niche
54-
# - check-py314t-cover
55-
# - check-py314t-nocover
56-
# - check-py314t-niche
57-
- check-quality
58-
## Skip all the (inactive/old) Rust and Ruby tests pending fixes
59-
# - lint-ruby
60-
# - check-ruby-tests
61-
# - check-rust-in-ruby-format
62-
# - lint-rust-in-ruby
63-
# - audit-rust-in-ruby
64-
# - check-conjecture-rust-format
65-
# - check-rust-tests
66-
# - audit-conjecture-rust
67-
# - lint-conjecture-rust
68-
- check-py39-nose
69-
- check-py39-pytest46
70-
- check-py39-pytest54
71-
- check-pytest62
72-
- check-django51
73-
- check-django50
74-
- check-django42
75-
- check-pandas22
76-
- check-pandas21
77-
- check-pandas20
78-
- check-pandas15
79-
- check-pandas14
80-
- check-pandas13
81-
## FIXME: actions update means Python builds without eg _bz2, which was required
82-
# - check-py39-pandas12
83-
# - check-py39-pandas11
84-
## `-cover` is too slow under crosshair; use a custom split
85-
# - check-crosshair-custom-cover/test_[a-d]*
86-
# - check-crosshair-custom-cover/test_[e-i]*
87-
# - check-crosshair-custom-cover/test_[j-r]*
88-
# - check-crosshair-custom-cover/test_[s-z]*
89-
# - check-crosshair-custom-pytest/test_*
90-
# - check-crosshair-nocover
91-
# - check-crosshair-niche
92-
- check-py39-oldestnumpy
93-
- check-numpy-nightly
31+
# - check-conjecture-coverage
32+
# - check-py39-cover
33+
# - check-pypy39-cover
34+
# - check-py310-cover
35+
# - check-py310-nocover
36+
# - check-py310-niche
37+
# - check-pypy310-cover
38+
# # - check-py310-pyjion # see notes in tox.ini
39+
# - check-py311-cover
40+
# - check-py311-nocover
41+
# - check-py311-niche
42+
# - check-py312-cover
43+
# - check-py312-nocover
44+
# - check-py312-niche
45+
# - check-py313-cover
46+
# - check-py313-nocover
47+
# - check-py313-niche
48+
# - check-py313t-cover
49+
# - check-py313t-nocover
50+
# - check-py313t-niche
51+
# # - check-py314-cover
52+
# # - check-py314-nocover
53+
# # - check-py314-niche
54+
# # - check-py314t-cover
55+
# # - check-py314t-nocover
56+
# # - check-py314t-niche
57+
# - check-quality
58+
# ## Skip all the (inactive/old) Rust and Ruby tests pending fixes
59+
# # - lint-ruby
60+
# # - check-ruby-tests
61+
# # - check-rust-in-ruby-format
62+
# # - lint-rust-in-ruby
63+
# # - audit-rust-in-ruby
64+
# # - check-conjecture-rust-format
65+
# # - check-rust-tests
66+
# # - audit-conjecture-rust
67+
# # - lint-conjecture-rust
68+
# - check-py39-nose
69+
# - check-py39-pytest46
70+
# - check-py39-pytest54
71+
# - check-pytest62
72+
# - check-django51
73+
# - check-django50
74+
# - check-django42
75+
# - check-pandas22
76+
# - check-pandas21
77+
# - check-pandas20
78+
# - check-pandas15
79+
# - check-pandas14
80+
# - check-pandas13
81+
# ## FIXME: actions update means Python builds without eg _bz2, which was required
82+
# # - check-py39-pandas12
83+
# # - check-py39-pandas11
84+
# ## `-cover` is too slow under crosshair; use a custom split
85+
# # - check-crosshair-custom-cover/test_[a-d]*
86+
# # - check-crosshair-custom-cover/test_[e-i]*
87+
# # - check-crosshair-custom-cover/test_[j-r]*
88+
# # - check-crosshair-custom-cover/test_[s-z]*
89+
# # - check-crosshair-custom-pytest/test_*
90+
# # - check-crosshair-nocover
91+
# # - check-crosshair-niche
92+
# - check-py39-oldestnumpy
93+
# - check-numpy-nightly
9494
fail-fast: false
9595
steps:
9696
- uses: actions/checkout@v3

hypothesis-python/src/hypothesis/database.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,7 @@ class Handler(FileSystemEventHandler):
440440
def on_created(
441441
_self, event: Union[FileCreatedEvent, DirCreatedEvent]
442442
) -> None:
443+
print("create", event)
443444
# we only registered for the file creation event
444445
assert not isinstance(event, DirCreatedEvent)
445446
# watchdog events are only bytes if we passed a byte path to
@@ -470,6 +471,7 @@ def on_created(
470471
def on_deleted(
471472
self, event: Union[FileDeletedEvent, DirDeletedEvent]
472473
) -> None:
474+
print("delete", event)
473475
assert not isinstance(event, DirDeletedEvent)
474476
assert isinstance(event.src_path, str)
475477

@@ -481,6 +483,7 @@ def on_deleted(
481483
_broadcast_change(("delete", (key, None)))
482484

483485
def on_moved(self, event: Union[FileMovedEvent, DirMovedEvent]) -> None:
486+
print("move", event)
484487
assert not isinstance(event, DirMovedEvent)
485488
assert isinstance(event.src_path, str)
486489
assert isinstance(event.dest_path, str)

hypothesis-python/tests/watchdog/test_database.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def listener(event):
7272
("save", (b"a", b"c")),
7373
# DirectoryBased
7474
("delete", (b"a", None)),
75-
("save", (b"a", b"c"))
75+
("save", (b"a", b"c")),
7676
}
7777

7878

@@ -112,6 +112,8 @@ def listener(event):
112112
time_sleep(0.2)
113113

114114
windows = sys.platform.startswith("win")
115+
print("platform", sys.platform)
116+
print("events", events[3:])
115117
assert events[3:] == [
116118
# the move event in watchdog knows the exact moved value and so can send
117119
# it in the delete event. But windows fires a save/delete at the watchdog
@@ -120,4 +122,4 @@ def listener(event):
120122
("save", (b"k2", b"v3")),
121123
("delete", (b"k2", None if windows else b"v3")),
122124
("save", (b"k1", b"v3")),
123-
], str(events)
125+
], str(events[3:])

0 commit comments

Comments
 (0)