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