This commit is contained in:
@@ -8,17 +8,11 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Debug install
|
- name: Debug
|
||||||
run: |
|
run: |
|
||||||
echo "=== Directory check ==="
|
set -x
|
||||||
ls -la /app
|
whoami
|
||||||
echo "=== Python version ==="
|
pwd
|
||||||
|
ls -la /app 2>&1 || ls -la / | head -10
|
||||||
python3 --version
|
python3 --version
|
||||||
pip3 --version
|
pip3 install -e /app && pip3 install pytest pytest-asyncio && pytest /app/tests/ -v || echo "Test command failed with code $?"
|
||||||
echo "=== Installing ==="
|
|
||||||
pip3 install -e /app 2>&1 | tail -20
|
|
||||||
echo "=== Install exit code: $? ==="
|
|
||||||
- name: Run tests
|
|
||||||
run: |
|
|
||||||
pytest /app/tests/ -v --tb=short 2>&1 | tail -50
|
|
||||||
echo "=== Tests exit code: $? ==="
|
|
||||||
Reference in New Issue
Block a user