Debug CI - install dependencies first, then package, and test import
This commit is contained in:
@@ -20,15 +20,11 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install --upgrade pip
|
python -m pip install --upgrade pip
|
||||||
pip install -e .
|
|
||||||
pip install pytest pytest-asyncio
|
pip install pytest pytest-asyncio
|
||||||
|
pip install -r requirements.txt
|
||||||
- name: Debug - list files
|
pip install -e .
|
||||||
run: |
|
|
||||||
ls -la
|
|
||||||
ls -la snip/
|
|
||||||
ls -la tests/
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
|
python -c "import snip; print('Import successful:', snip)"
|
||||||
pytest tests/ -v --tb=short
|
pytest tests/ -v --tb=short
|
||||||
Reference in New Issue
Block a user