This commit is contained in:
@@ -12,10 +12,14 @@ jobs:
|
|||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.11'
|
python-version: '3.11'
|
||||||
- name: Install dependencies
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
pip install pytest pytest-asyncio
|
|
||||||
pip install click cryptography pygments rich zeroconf
|
|
||||||
pip install -e .
|
pip install -e .
|
||||||
- name: Run tests
|
pip install pytest pytest-asyncio
|
||||||
run: pytest tests/ -v
|
- name: Verify install
|
||||||
|
run: |
|
||||||
|
python -c "from snip.db import get_database; print('DB import OK')"
|
||||||
|
python -c "from snip.cli import cli; print('CLI import OK')"
|
||||||
|
- name: Test
|
||||||
|
run: |
|
||||||
|
pytest tests/ -v --tb=short 2>&1 | head -100
|
||||||
Reference in New Issue
Block a user