mirror of
https://github.com/SuperClaude-Org/SuperClaude_Framework.git
synced 2025-12-29 16:16:08 +00:00
Added --system flag to all uv pip install commands to fix "No virtual environment found" error in GitHub Actions CI/CD. UV requires either a virtual environment or the --system flag in CI/CD environments. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
56 lines
1.3 KiB
YAML
56 lines
1.3 KiB
YAML
name: Quick Check
|
|
|
|
on:
|
|
pull_request:
|
|
branches: [master, integration]
|
|
|
|
jobs:
|
|
quick-test:
|
|
name: Quick Test (Python 3.10)
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.10"
|
|
cache: 'pip'
|
|
|
|
- name: Install UV
|
|
run: |
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
uv pip install --system -e ".[dev]"
|
|
|
|
- name: Run unit tests only
|
|
run: |
|
|
uv run pytest tests/unit/ -v --tb=short -x
|
|
|
|
- name: Run linter
|
|
run: |
|
|
uv run ruff check src/ tests/
|
|
|
|
- name: Check formatting
|
|
run: |
|
|
uv run ruff format --check src/ tests/
|
|
|
|
- name: Verify pytest plugin
|
|
run: |
|
|
uv run pytest --trace-config 2>&1 | grep -q "superclaude"
|
|
|
|
- name: Summary
|
|
if: success()
|
|
run: |
|
|
echo "✅ Quick checks passed!"
|
|
echo " - Unit tests: PASSED"
|
|
echo " - Linting: PASSED"
|
|
echo " - Formatting: PASSED"
|
|
echo " - Plugin: LOADED"
|