mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-28 08:49:21 +01:00
Fix red CI: install kuhy_credit, format, date
Some checks are pending
app_errors tests / test (push) Waiting to run
crdt-sync pre-commit / pre-commit (push) Waiting to run
crdt-sync tests / test (push) Waiting to run
data_transfer_flutter tests / test (push) Waiting to run
design_system tests / test (push) Waiting to run
earned_time pre-commit / pre-commit (push) Waiting to run
earned_time tests / test (push) Waiting to run
focus-project pre-commit / pre-commit (push) Waiting to run
focus-project tests / test (push) Waiting to run
freedays pre-commit / pre-commit (push) Waiting to run
freedays tests / test (push) Waiting to run
game_recording pre-commit / pre-commit (push) Waiting to run
game_recording tests / test (push) Waiting to run
gatelock pre-commit / pre-commit (push) Waiting to run
gatelock tests / test (push) Waiting to run
godot_dev_tools tests / test (push) Waiting to run
google_account_token tests / test (push) Waiting to run
holds pre-commit / pre-commit (push) Waiting to run
holds tests / test (push) Waiting to run
kuhy_credit drift / drift (push) Waiting to run
kuhy_credit tests / python (push) Waiting to run
kuhy_credit tests / web (push) Waiting to run
kuhy_credit tests / flutter (push) Waiting to run
kuhy_credit tests / godot (push) Waiting to run
leetcode-coach pre-commit / pre-commit (push) Waiting to run
leetcode-coach tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
music_theory tests / test (push) Waiting to run
omniroute_offload pre-commit / pre-commit (push) Waiting to run
palette drift / palette (push) Waiting to run
platform_location tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
sickdays pre-commit / pre-commit (push) Waiting to run
sickdays tests / test (push) Waiting to run
sql-drills pre-commit / pre-commit (push) Waiting to run
sql-drills tests / test (push) Waiting to run
sync_settings_ui tests / test (push) Waiting to run
ts_config tests / test (push) Waiting to run
ts_core tests / test (push) Waiting to run
web_ui tests / test (push) Waiting to run
Some checks are pending
app_errors tests / test (push) Waiting to run
crdt-sync pre-commit / pre-commit (push) Waiting to run
crdt-sync tests / test (push) Waiting to run
data_transfer_flutter tests / test (push) Waiting to run
design_system tests / test (push) Waiting to run
earned_time pre-commit / pre-commit (push) Waiting to run
earned_time tests / test (push) Waiting to run
focus-project pre-commit / pre-commit (push) Waiting to run
focus-project tests / test (push) Waiting to run
freedays pre-commit / pre-commit (push) Waiting to run
freedays tests / test (push) Waiting to run
game_recording pre-commit / pre-commit (push) Waiting to run
game_recording tests / test (push) Waiting to run
gatelock pre-commit / pre-commit (push) Waiting to run
gatelock tests / test (push) Waiting to run
godot_dev_tools tests / test (push) Waiting to run
google_account_token tests / test (push) Waiting to run
holds pre-commit / pre-commit (push) Waiting to run
holds tests / test (push) Waiting to run
kuhy_credit drift / drift (push) Waiting to run
kuhy_credit tests / python (push) Waiting to run
kuhy_credit tests / web (push) Waiting to run
kuhy_credit tests / flutter (push) Waiting to run
kuhy_credit tests / godot (push) Waiting to run
leetcode-coach pre-commit / pre-commit (push) Waiting to run
leetcode-coach tests / test (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
music_theory tests / test (push) Waiting to run
omniroute_offload pre-commit / pre-commit (push) Waiting to run
palette drift / palette (push) Waiting to run
platform_location tests / test (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
shared gate tests / gate unit tests (push) Waiting to run
sickdays pre-commit / pre-commit (push) Waiting to run
sickdays tests / test (push) Waiting to run
sql-drills pre-commit / pre-commit (push) Waiting to run
sql-drills tests / test (push) Waiting to run
sync_settings_ui tests / test (push) Waiting to run
ts_config tests / test (push) Waiting to run
ts_core tests / test (push) Waiting to run
web_ui tests / test (push) Waiting to run
Bug-class-check: none — CI repair, no new bug class (kuhy 2026-11-27) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WzxdWZDq7ef5JyQd7Rx3Ju
This commit is contained in:
parent
2399227b4e
commit
5ed2129215
2
.github/workflows/app-errors-tests.yml
vendored
2
.github/workflows/app-errors-tests.yml
vendored
@ -28,7 +28,7 @@ jobs:
|
||||
cache-dependency-path: app_errors/requirements.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt && pip install --no-deps -e .
|
||||
run: pip install --no-deps ../kuhy_credit && pip install -r requirements.txt && pip install --no-deps -e .
|
||||
|
||||
- name: Run tests
|
||||
run: python -m pytest -v
|
||||
|
||||
2
.github/workflows/freedays-tests.yml
vendored
2
.github/workflows/freedays-tests.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
run: pip install ../crdt-sync
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt && pip install --no-deps -e .
|
||||
run: pip install --no-deps ../kuhy_credit && pip install -r requirements.txt && pip install --no-deps -e .
|
||||
|
||||
# No display needed: freedays draws nothing. It is policy, a JSON file
|
||||
# and a CLI.
|
||||
|
||||
2
.github/workflows/sickdays-tests.yml
vendored
2
.github/workflows/sickdays-tests.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
||||
# importing it pulls in tkinter, and this job has no display precisely
|
||||
# because sickdays must work without one.
|
||||
- name: Install the sibling packages
|
||||
run: pip install ../crdt-sync && pip install --no-deps ../freedays
|
||||
run: pip install ../crdt-sync && pip install --no-deps ../freedays ../kuhy_credit
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt && pip install --no-deps -e .
|
||||
|
||||
@ -49,7 +49,7 @@ def test_tutor_from_is_the_day_after_the_deploy() -> None:
|
||||
|
||||
def test_registry_switches_on_tutor_from() -> None:
|
||||
assert earners_for(EVE) is not TUTOR_EARNERS # the waiver (ANKI_WAIVED_FROM)
|
||||
assert earners_for(None) is earners_for(datetime.now().astimezone().date())
|
||||
assert earners_for(None) == earners_for(datetime.now().astimezone().date())
|
||||
assert earners_for(TUTOR_FROM) is TUTOR_EARNERS
|
||||
assert "anki" not in {e.name for e in TUTOR_EARNERS}
|
||||
assert ladder_for(EVE) is None # the eve is pre-ladder
|
||||
|
||||
@ -105,7 +105,9 @@ def test_slow_wait_over_threshold_is_written(
|
||||
|
||||
def test_slow_wait_measures_monotonic_time(tmp_path: Path) -> None:
|
||||
wall, mono = Clock(), Clock()
|
||||
rep = Reporter(app="leetcode-guard", repo="r", spool=tmp_path, clock=wall, monotonic=mono)
|
||||
rep = Reporter(
|
||||
app="leetcode-guard", repo="r", spool=tmp_path, clock=wall, monotonic=mono
|
||||
)
|
||||
with rep.wait("op"):
|
||||
wall.t += 1.5 # a clock step, not a wait
|
||||
mono.t += 0.2
|
||||
|
||||
Loading…
Reference in New Issue
Block a user