Skip to content

chore: package descriptions, CONTRIBUTING/SECURITY, engine crate desc… #83

chore: package descriptions, CONTRIBUTING/SECURITY, engine crate desc…

chore: package descriptions, CONTRIBUTING/SECURITY, engine crate desc… #83

Workflow file for this run

# Build + test on every push/PR: Rust engine unit tests, then the full TS suite (unit + the
# conformance harness, which boots its own ephemeral logical-replication Postgres — the runner
# image ships the PostgreSQL server binaries; they just need to be on PATH).
name: ci
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
# Pinned to 1.96.0: stable 1.97.0 ICEs compiling dbsp 0.318.0 (rustc
# next-trait-solver panic in structural_traits.rs). Keep in sync with
# rust-toolchain.toml; do not float back to @stable until upstream is fixed.
- uses: dtolnay/rust-toolchain@1.96.0
- uses: Swatinem/rust-cache@v2
- name: Rust engine tests
run: cargo test -p electric-circuits-engine
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Put PostgreSQL server binaries on PATH
run: |
PGBIN="$(ls -d /usr/lib/postgresql/*/bin | sort -V | tail -1)"
echo "$PGBIN" >> "$GITHUB_PATH"
"$PGBIN/initdb" --version
- name: Install JS dependencies
run: pnpm install --frozen-lockfile
- name: Full test suite (incl. conformance)
run: pnpm test