diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index cd601b2..7a66411 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -11,17 +11,14 @@ jobs: with: python-version: '3.11' - name: Install dependencies - run: pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli - - name: Debug directory run: | - pwd - ls -la - ls -la tests/ 2>/dev/null || echo "No tests directory" + pip install --upgrade pip + pip install pytest pyyaml click rich jinja2 jsonschema prompt_toolkit tomli - name: Run tests run: | if [ -d "tests" ]; then - pytest tests/ -v --tb=short || exit 1 + pytest tests/ -v --tb=short else - echo "No tests found" - exit 0 + echo "No tests directory found" + exit 1 fi