ci: isolate OMP workflow verification (#2382)

Co-authored-by: jan <jan@w-saxs001.local>
This commit is contained in:
Yang Cheng
2026-06-30 06:51:00 +08:00
committed by GitHub
parent 73895b5d05
commit 00b443eddb
3 changed files with 30 additions and 5 deletions
+24 -5
View File
@@ -171,6 +171,28 @@ jobs:
run: node scripts/ci/validate-no-personal-paths.js
continue-on-error: false
python-tests:
name: Python Tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Setup Python
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: '3.11'
- name: Install Python dependencies
run: python -m pip install --upgrade pip && python -m pip install -e '.[dev]'
- name: Run Python tests
run: python -m pytest tests/test_*.py -m "not integration"
security:
name: Security Scan
runs-on: ubuntu-latest
@@ -246,8 +268,5 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run ESLint
run: npx eslint scripts/**/*.js tests/**/*.js
- name: Run markdownlint
run: npx markdownlint "agents/**/*.md" "skills/**/*.md" "commands/**/*.md" "rules/**/*.md"
- name: Run lint
run: npm run lint