Debug CI with install output capture
This commit is contained in:
@@ -8,12 +8,17 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Verify app directory
|
- name: Debug install
|
||||||
run: |
|
run: |
|
||||||
|
echo "=== Directory check ==="
|
||||||
ls -la /app
|
ls -la /app
|
||||||
cat /app/setup.py
|
echo "=== Python version ==="
|
||||||
- name: Install dependencies
|
python3 --version
|
||||||
run: |
|
pip3 --version
|
||||||
pip3 install -e /app pytest pytest-asyncio
|
echo "=== Installing ==="
|
||||||
|
pip3 install -e /app 2>&1 | tail -20
|
||||||
|
echo "=== Install exit code: $? ==="
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: pytest /app/tests/ -v --tb=short
|
run: |
|
||||||
|
pytest /app/tests/ -v --tb=short 2>&1 | tail -50
|
||||||
|
echo "=== Tests exit code: $? ==="
|
||||||
Reference in New Issue
Block a user