Kai9987kai's picture
Release crosswire-formal-synthesis-2026-11-03 from GitHub 91e7ac87c4e4
450ac2f verified
Raw History Blame Contribute Delete
2.11 kB
name: CI
on:
push:
branches: [ main, codex/crosswire-design ]
pull_request:
branches: [ main, codex/crosswire-design ]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,baselines]"
- name: Run automated test suite
run: |
python -m pytest -q --tb=short
- name: Build wheel package
run: |
python -m build --wheel
- name: Verify package installation
run: |
python -I tools/check_distribution.py --wheel-dir dist
- name: Verify scientific receipt replay
run: |
python -m crosswire verify reports/budgeted-experiments-receipt.json
browser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -e ".[dev,baselines]"
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Playwright and Chromium
run: |
npm install playwright
npx playwright install --with-deps chromium
- name: Run browser workbench end-to-end checks
run: |
node tools/check_workbench.cjs
- name: Upload Playwright artifacts on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: playwright-artifacts
path: output/playwright/