diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 3beb116..d20d627 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -8,19 +8,12 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Show directory + - name: Verify app directory run: | - echo "=== Current directory ===" - pwd - ls -la - echo "=== Root directory ===" - ls -la / - - name: Find setup.py + ls -la /app + cat /app/setup.py + - name: Install dependencies run: | - find / -name "setup.py" 2>/dev/null | head -5 - cat /app/setup.py 2>/dev/null || echo "No /app/setup.py" - - name: Install Python dependencies - run: | - python3 --version - pip3 --version - pip3 install -e /app 2>&1 || echo "Install failed with code $?" \ No newline at end of file + pip3 install -e /app pytest pytest-asyncio + - name: Run tests + run: pytest /app/tests/ -v --tb=short \ No newline at end of file