122 lines
2.8 KiB
YAML
122 lines
2.8 KiB
YAML
|
|
# EOS CI Configuration
|
||
|
|
# Placeras i .github/workflows/eos-ci.yml
|
||
|
|
|
||
|
|
name: EOS Runtime Verification
|
||
|
|
|
||
|
|
on:
|
||
|
|
pull_request:
|
||
|
|
paths:
|
||
|
|
- 'EOS/**'
|
||
|
|
- '.github/workflows/eos-ci.yml'
|
||
|
|
push:
|
||
|
|
branches: [main]
|
||
|
|
paths:
|
||
|
|
- 'EOS/**'
|
||
|
|
|
||
|
|
jobs:
|
||
|
|
runtime-regression:
|
||
|
|
name: Runtime Regression
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Run Runtime Regression
|
||
|
|
run: node EOS/regression-suite.mjs ci
|
||
|
|
timeout-minutes: 5
|
||
|
|
|
||
|
|
- name: Upload Results
|
||
|
|
uses: actions/upload-artifact@v4
|
||
|
|
if: always()
|
||
|
|
with:
|
||
|
|
name: runtime-regression-results
|
||
|
|
path: EOS/regression-reports/
|
||
|
|
|
||
|
|
policy-regression:
|
||
|
|
name: Policy Regression
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Run Policy Regression
|
||
|
|
run: node EOS/run-policy-suite.mjs
|
||
|
|
timeout-minutes: 5
|
||
|
|
|
||
|
|
decision-replay:
|
||
|
|
name: Decision Replay
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Run Decision Replay Tests
|
||
|
|
run: node EOS/test-decision-replay.mjs
|
||
|
|
timeout-minutes: 5
|
||
|
|
|
||
|
|
golden-failures:
|
||
|
|
name: Golden Failure Regression
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Check Golden Failures
|
||
|
|
run: node EOS/regression-suite.mjs ci-golden
|
||
|
|
timeout-minutes: 5
|
||
|
|
|
||
|
|
architecture-drift:
|
||
|
|
name: Architecture Drift
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Detect Architecture Drift
|
||
|
|
run: node EOS/architecture-drift.mjs EOS/agent-runtime-v10.mjs
|
||
|
|
timeout-minutes: 2
|
||
|
|
|
||
|
|
# Daglig referenskörning
|
||
|
|
daily-reference:
|
||
|
|
name: Daily Reference Run
|
||
|
|
runs-on: ubuntu-latest
|
||
|
|
schedule:
|
||
|
|
- cron: '0 6 * * *' # 06:00 UTC varje dag
|
||
|
|
steps:
|
||
|
|
- uses: actions/checkout@v4
|
||
|
|
|
||
|
|
- name: Setup Node.js
|
||
|
|
uses: actions/setup-node@v4
|
||
|
|
with:
|
||
|
|
node-version: '20'
|
||
|
|
|
||
|
|
- name: Run Daily Stability
|
||
|
|
run: node EOS/daily-stability.mjs
|
||
|
|
timeout-minutes: 5
|
||
|
|
|
||
|
|
- name: Upload Stability Report
|
||
|
|
uses: actions/upload-artifact@v4
|
||
|
|
with:
|
||
|
|
name: stability-report
|
||
|
|
path: EOS/stability-logs/
|