chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
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"
|
||||
|
||||
- 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: |
|
||||
pytest tests/unit/ -v --tb=short -x
|
||||
|
||||
- name: Run linter
|
||||
run: |
|
||||
ruff check src/ tests/
|
||||
|
||||
- name: Check formatting
|
||||
run: |
|
||||
ruff format --check src/ tests/
|
||||
|
||||
- name: Verify pytest plugin
|
||||
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"
|
||||
Reference in New Issue
Block a user