46 lines
1.6 KiB
YAML
46 lines
1.6 KiB
YAML
name: Core regression
|
|
|
|
on:
|
|
push:
|
|
branches: [main, 'codex/**']
|
|
tags: ['v*']
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
portable-regression:
|
|
name: Python core and release configuration
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 20
|
|
steps:
|
|
- name: Checkout tested commit
|
|
uses: https://github.com/actions/checkout@v4
|
|
- name: Python 3.12
|
|
uses: https://github.com/actions/setup-python@v5
|
|
with:
|
|
python-version: '3.12'
|
|
- name: Install portable test dependencies
|
|
run: python -m pip install 'pytest>=8,<9'
|
|
- name: Compile application and build helpers
|
|
run: python -m compileall -q src packaging tools
|
|
- name: Core regression (no CAD or production credentials)
|
|
run: >-
|
|
python -m pytest -q
|
|
tests/dsh/test_core.py
|
|
tests/dsh/test_failure_policy.py
|
|
tests/dsh/test_decision_log.py
|
|
tests/dsh/test_experience.py
|
|
tests/dsh/test_issue_broker.py
|
|
tests/packaging/test_dsh_runtime_staging.py
|
|
tests/packaging/test_release_configuration.py
|
|
--junitxml=build/ci-results.xml --tb=short
|
|
- name: JavaScript syntax
|
|
run: |
|
|
node --check integration/dsh/start.mjs
|
|
node --check integration/dsh/task-plugin/host.mjs
|
|
node --check integration/dsh/task-plugin/client.js
|
|
- name: Windows release scope
|
|
run: |
|
|
echo 'Windows PyInstaller, Qt WebEngine startup, full runtime file hashes and extracted EXE smoke are validated on the Windows build host.'
|
|
echo 'This Linux job does not claim Windows/CAD or live model acceptance.'
|