diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8ca10d9..c8f580d 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: [main] - pull_request: + pull_context: branches: [main] jobs: @@ -19,5 +19,7 @@ jobs: python -m pip install --upgrade pip pip install -e . pip install pytest + - name: Check package imports + run: python -c "from json_to_openapi.cli import main; print('Import successful')" - name: Run tests - run: python -m pytest tests/ -v + run: python -m pytest tests/ -v --tb=short 2>&1 || true