mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
fix(ci): install httpx and run pytest via python -m
This commit is contained in:
parent
c95b15ef56
commit
eb5281623a
4 changed files with 6 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -37,7 +37,7 @@ jobs:
|
|||
|
||||
- name: Tests
|
||||
run: |
|
||||
pytest -q || true
|
||||
python -m pytest -q || true
|
||||
|
||||
- name: Theme catalog validation (non-strict)
|
||||
run: |
|
||||
|
|
@ -56,4 +56,4 @@ jobs:
|
|||
CSV_FILES_DIR: csv_files/testdata
|
||||
RANDOM_MODES: "1"
|
||||
run: |
|
||||
pytest -q code/tests/test_random_determinism.py code/tests/test_random_build_api.py code/tests/test_seeded_builder_minimal.py code/tests/test_builder_rng_seeded_stream.py
|
||||
python -m pytest -q code/tests/test_random_determinism.py code/tests/test_random_build_api.py code/tests/test_seeded_builder_minimal.py code/tests/test_builder_rng_seeded_stream.py
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ This format follows Keep a Changelog principles and aims for Semantic Versioning
|
|||
## [Unreleased]
|
||||
### Changed
|
||||
- Theme catalog schema now accepts optional `id` values on entries so refreshed catalogs validate cleanly.
|
||||
- CI installs `httpx` with the rest of the web stack and runs pytest via `python -m pytest` so FastAPI tests resolve the local `code` package correctly.
|
||||
|
||||
### Fixed
|
||||
- Regenerated `logs/perf/theme_preview_warm_baseline.json` to repair preview performance CI regressions caused by a malformed baseline file and verified the regression gate passes with the refreshed data.
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
## Summary
|
||||
- Hardened theme catalog schema to accept optional IDs and refreshed the preview performance baseline to keep CI checks green.
|
||||
- CI updates install the missing `httpx` dependency and run pytest through `python -m` to ensure the web stack tests import the local package correctly.
|
||||
- Delivered multi-theme random builds with deterministic cascade, strict match support, and polished HTMX/UI flows.
|
||||
- Added opt-in telemetry counters, reroll throttling safeguards, and structured diagnostics exports.
|
||||
- Expanded tooling, documentation, and QA coverage for theme governance, performance profiling, and seed history management.
|
||||
|
|
@ -29,6 +30,7 @@
|
|||
|
||||
### Maintenance & CI
|
||||
- Theme catalog schema now accepts optional IDs and the preview performance warm baseline was regenerated to restore the regression gate.
|
||||
- GitHub Actions now includes `httpx` in the default dependency install and executes pytest via `python -m` so FastAPI TestClient suites run without import errors.
|
||||
|
||||
## Detailed changes
|
||||
### Added
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ prettytable>=3.9.0
|
|||
# Web UI stack (FastAPI + Jinja + HTMX served via CDN)
|
||||
fastapi>=0.110.0
|
||||
uvicorn[standard]>=0.28.0
|
||||
httpx>=0.27.0
|
||||
Jinja2>=3.1.0
|
||||
python-multipart>=0.0.9
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue