This commit is contained in:
@@ -8,19 +8,12 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Show directory
|
- name: Verify app directory
|
||||||
run: |
|
run: |
|
||||||
echo "=== Current directory ==="
|
ls -la /app
|
||||||
pwd
|
cat /app/setup.py
|
||||||
ls -la
|
- name: Install dependencies
|
||||||
echo "=== Root directory ==="
|
|
||||||
ls -la /
|
|
||||||
- name: Find setup.py
|
|
||||||
run: |
|
run: |
|
||||||
find / -name "setup.py" 2>/dev/null | head -5
|
pip3 install -e /app pytest pytest-asyncio
|
||||||
cat /app/setup.py 2>/dev/null || echo "No /app/setup.py"
|
- name: Run tests
|
||||||
- name: Install Python dependencies
|
run: pytest /app/tests/ -v --tb=short
|
||||||
run: |
|
|
||||||
python3 --version
|
|
||||||
pip3 --version
|
|
||||||
pip3 install -e /app 2>&1 || echo "Install failed with code $?"
|
|
||||||
Reference in New Issue
Block a user