- Added/updated .gitignore file - Fixed remote URL configuration - Updated project structure and files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
48 lines
1.3 KiB
YAML
48 lines
1.3 KiB
YAML
name: WHOOSH CI
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
speclint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Run local speclint helper
|
|
run: |
|
|
python3 scripts/speclint_check.py check . --require-ucxl --max-distance 5
|
|
|
|
contracts:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout WHOOSH
|
|
uses: actions/checkout@v3
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: '3.11'
|
|
- name: Install test deps
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install jsonschema pytest
|
|
- name: Checkout BACKBEAT contracts (if available)
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: tony/BACKBEAT
|
|
path: backbeat
|
|
continue-on-error: true
|
|
- name: Run BACKBEAT contract tests (if present)
|
|
run: |
|
|
if [ -d "backbeat/backbeat-contracts/python/tests" ]; then
|
|
pytest -q backbeat/backbeat-contracts/python/tests
|
|
else
|
|
echo "BACKBEAT contracts repo not available here; skipping."
|
|
fi
|
|
|