chore: fix imports in editorial_governance CI task causing it to fail from missing pytest

This commit is contained in:
matt 2025-10-06 09:26:49 -07:00
parent d416c9b238
commit f68f8949e8
3 changed files with 9 additions and 3 deletions

View file

@ -23,8 +23,8 @@ jobs:
- name: Install deps - name: Install deps
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements.txt python -m pip install -r requirements.txt
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi if [ -f requirements-dev.txt ]; then python -m pip install -r requirements-dev.txt; fi
- name: Build catalog (alt output, seed) - name: Build catalog (alt output, seed)
run: | run: |
python code/scripts/build_theme_catalog.py --output config/themes/theme_list_ci.json --limit 0 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 python code/scripts/validate_description_mapping.py
- name: Run regression & unit tests (editorial subset + enforcement) - name: Run regression & unit tests (editorial subset + enforcement)
run: | 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) - name: Ratchet proposal (non-blocking)
run: | run: |
python code/scripts/ratchet_description_thresholds.py > ratchet_proposal.json || true python code/scripts/ratchet_description_thresholds.py > ratchet_proposal.json || true

1
.gitignore vendored
View file

@ -5,6 +5,7 @@
*.log *.log
*.txt *.txt
!requirements.txt !requirements.txt
!requirements-dev.txt
RELEASE_NOTES.md RELEASE_NOTES.md
test.py test.py

5
requirements-dev.txt Normal file
View file

@ -0,0 +1,5 @@
-r requirements.txt
# Developer toolchain
mypy>=1.9.0
pytest>=8.2.0