Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

ci: isolate OMP workflow verification (#2382)

Yang Cheng00b443eddb7a
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 2b466158e..cd72b3a4f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 36c973c32..4e2c18b6e 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -38,6 +38,9 @@ jobs:
- name: Verify OpenCode package payload
run: node tests/scripts/build-opencode.test.js
+ - name: Verify OMP adapter payload
+ run: node tests/omp/omp-plugin.test.js
+
- name: Validate version tag
run: |
if ! [[ "${REF_NAME}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$ ]]; then
diff --git a/.github/workflows/reusable-release.yml b/.github/workflows/reusable-release.yml
index 936e136ee..e3d1f02f6 100644
--- a/.github/workflows/reusable-release.yml
+++ b/.github/workflows/reusable-release.yml
@@ -62,6 +62,9 @@ jobs:
- name: Verify OpenCode package payload
run: node tests/scripts/build-opencode.test.js
+ - name: Verify OMP adapter payload
+ run: node tests/omp/omp-plugin.test.js
+
- name: Validate version tag
env:
INPUT_TAG: ${{ inputs.tag }}