Files
GoogleScrape/.github/workflows/pylint.yml
T
timberjoegithub 13ae301667 Refactor: repo hygiene, shared utils, focused tests, and CI improvements
- Remove dead imports/duplication from Google2xls.py and social.py
- Centralize shared logic in review_workflow_utils.py
- Add focused posting-flow tests in tests/test_social.py (all pass)
- Update .gitignore for secrets and local artifacts
- Trim requirements.txt to direct deps
- Improve CI: compile all scripts, run focused tests
- Prep repo for clean commit (no secrets, no local artifacts)
2026-05-27 13:17:56 +00:00

27 lines
740 B
YAML

name: Validate
on: [push]
jobs:
validate:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install validation dependencies
run: |
python -m pip install --upgrade pip
pip install python-dateutil selenium
- name: Compile core scripts
run: |
python -m py_compile Google2xls.py WP2xls.py social.py text.py review_workflow_utils.py
- name: Run focused unit tests
run: |
python -m unittest discover -s tests