ci / test (pull_request) Successful in 35s
seed lands a bundle built somewhere else, which meant building Havre on the Mac and carrying the bundle over. ship.yml clones the venture's source repo (private is fine: the time bot's token clones it, for that step only), runs its tools/build.sh on the runner (installing Chromium for the screenshots when the runner has no Chrome), and ship.py lands the bundle the build left with seed's own checks and commit. Nothing is built or carried outside the factory. test_ship.py runs in ci. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012sekpYMwTXuMdza1isMQA1
23 lines
741 B
YAML
23 lines
741 B
YAML
name: ci
|
|
# Time's own tests. Also the check that lets Time auto-merge changes to itself.
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
paths-ignore: ["time/ledger/**"] # Time appends its own spend ledger every run; that is not a code change
|
|
workflow_dispatch: # Time can run CI on a worker's PR branch by hand
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 3
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
- uses: actions/setup-node@v4 # node 22+ has node:sqlite, which the passkey test runs on
|
|
with:
|
|
node-version: 22
|
|
- run: python3 .github/time/test_time.py
|
|
- run: python3 .github/time/test_seed.py
|
|
- run: python3 .github/time/test_ship.py
|