mirror of
https://github.com/timberjoegithub/GoogleScrape.git
synced 2026-07-22 00:19:48 +00:00
- 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)
27 lines
740 B
YAML
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
|