mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-11-29 08:25:10 +00:00
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
name: M3b Sociological CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- feat/stomach-economic-organ
|
|
paths:
|
|
- "core/src/economy/sims/sociological/**"
|
|
- "core/src/economy/stomach.tcl"
|
|
- "core/src/economy/feeds.tcl"
|
|
- "core/src/economy/sims/hub.tcl"
|
|
- ".claude/hooks/install-toolchains.sh"
|
|
- ".github/workflows/m3b-sociological.yml"
|
|
pull_request:
|
|
paths:
|
|
- "core/src/economy/sims/sociological/**"
|
|
- "core/src/economy/stomach.tcl"
|
|
- "core/src/economy/feeds.tcl"
|
|
- "core/src/economy/sims/hub.tcl"
|
|
- ".claude/hooks/install-toolchains.sh"
|
|
- ".github/workflows/m3b-sociological.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
m3b:
|
|
name: ECLiPSe sociological engine
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install ECLiPSe CLP
|
|
env:
|
|
SICA_INSTALL_TOOLCHAINS: "true"
|
|
run: bash .claude/hooks/install-toolchains.sh
|
|
|
|
- name: Run M3b native tests
|
|
working-directory: core/src/economy/sims/sociological
|
|
run: eclipse -b test.ecl -e run_tests
|
|
|
|
- name: Run M2 → M3b → Hub integration
|
|
shell: bash
|
|
run: |
|
|
set -euo pipefail
|
|
tclsh core/src/economy/sims/sociological/integration.test | tee /tmp/m3b-integration.out
|
|
grep -Eq 'Total[[:space:]]+5[[:space:]]+Passed[[:space:]]+5.*Failed[[:space:]]+0' /tmp/m3b-integration.out
|