This commit is contained in:
@@ -12,10 +12,14 @@ jobs:
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.11'
|
||||
- name: Install dependencies
|
||||
- name: Install
|
||||
run: |
|
||||
pip install pytest pytest-asyncio
|
||||
pip install click cryptography pygments rich zeroconf
|
||||
pip install -e .
|
||||
- name: Run tests
|
||||
run: pytest tests/ -v
|
||||
pip install pytest pytest-asyncio
|
||||
- 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