mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 07:30:13 +01:00
chore: fix imports in editorial_governance CI task causing it to fail from missing pytest
This commit is contained in:
parent
d416c9b238
commit
f68f8949e8
3 changed files with 9 additions and 3 deletions
6
.github/workflows/editorial_governance.yml
vendored
6
.github/workflows/editorial_governance.yml
vendored
|
|
@ -23,8 +23,8 @@ jobs:
|
|||
- name: Install deps
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi
|
||||
python -m pip install -r requirements.txt
|
||||
if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
|
||||
- name: Build catalog (alt output, seed)
|
||||
run: |
|
||||
python code/scripts/build_theme_catalog.py --output config/themes/theme_list_ci.json --limit 0
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
python code/scripts/validate_description_mapping.py
|
||||
- name: Run regression & unit tests (editorial subset + enforcement)
|
||||
run: |
|
||||
pytest -q code/tests/test_theme_description_fallback_regression.py code/tests/test_synergy_pairs_and_provenance.py code/tests/test_editorial_governance_phase_d_closeout.py code/tests/test_theme_editorial_min_examples_enforced.py
|
||||
python -m pytest -q code/tests/test_theme_description_fallback_regression.py code/tests/test_synergy_pairs_and_provenance.py code/tests/test_editorial_governance_phase_d_closeout.py code/tests/test_theme_editorial_min_examples_enforced.py
|
||||
- name: Ratchet proposal (non-blocking)
|
||||
run: |
|
||||
python code/scripts/ratchet_description_thresholds.py > ratchet_proposal.json || true
|
||||
|
|
|
|||
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -5,6 +5,7 @@
|
|||
*.log
|
||||
*.txt
|
||||
!requirements.txt
|
||||
!requirements-dev.txt
|
||||
|
||||
RELEASE_NOTES.md
|
||||
test.py
|
||||
|
|
|
|||
5
requirements-dev.txt
Normal file
5
requirements-dev.txt
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
-r requirements.txt
|
||||
|
||||
# Developer toolchain
|
||||
mypy>=1.9.0
|
||||
pytest>=8.2.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue