mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-10 17:29:41 +02:00
Move the nightly browser-suite cron from 03:23 to 03:29 UTC, authored as
Ark0N. GitHub sends scheduled-run failure notices to whoever last modified
the cron line, but its docs do not say whether that means the commit author
or the pusher. The previous cron edit (02c65e98) was authored under the
maintainer identity, whose noreply@anthropic.com address GitHub resolves to
the unrelated login "claude", so under the author reading the nightly's
failure notices would never reach the maintainer. With this commit the
author, the committer and the pusher are all Ark0N, so every reading lands
on the maintainer. Only the minute changes; no doc or test names a clock
time.
After the first scheduled run on master, confirm with
gh api 'repos/Ark0N/Codeman/actions/runs?event=schedule&per_page=1'
--jq '.workflow_runs[0].actor.login', which should print Ark0N.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
51 lines
1.5 KiB
YAML
51 lines
1.5 KiB
YAML
name: Browser suite
|
|
|
|
# The per-push CI gate deliberately skips the Playwright-driven suite (config/test-suites.ts),
|
|
# so a browser-only regression can merge green. This job runs that suite on a schedule and on
|
|
# demand, so such a regression (the Shift+Enter keypress bug was one) is caught within a day
|
|
# instead of by a user. It is NOT a merge gate: a red run means "look", and it never blocks a
|
|
# push or a PR.
|
|
#
|
|
# Needs: chromium (installed below), tmux, and the live server the tests start themselves.
|
|
# Not run here: test:mobile (per-machine PNG baselines), test:perf (wall-clock), and
|
|
# codex-predictive-echo (needs a real codex binary; it also skips itself without one).
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '29 3 * * *'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
browser:
|
|
name: Playwright browser suite
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 22
|
|
cache: 'npm'
|
|
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
|
|
- name: Install tmux
|
|
run: |
|
|
if ! command -v tmux >/dev/null; then
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y tmux
|
|
fi
|
|
|
|
- name: Install chromium
|
|
run: npx playwright install --with-deps chromium
|
|
|
|
- name: Run the browser suite
|
|
run: npm run test:browser -- --exclude test/codex-predictive-echo.test.ts
|