Skip to content

fix local version mismatch #1117

fix local version mismatch

fix local version mismatch #1117

name: Test Python Package
on:
push:
paths:
- 'src/sunholo/**'
- 'pyproject.toml'
- 'tests/**'
pull_request:
paths:
- 'src/sunholo/**'
- 'pyproject.toml'
- 'tests/**'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-asyncio pytest-cov
- name: Install package with test and http dependencies
run: pip install -e ".[test]"
- name: Run unit tests
run: |
# Run only tests that work with minimal dependencies
pytest tests/test_config.py tests/test_chat_history.py -v