phoebus_os/.forgejo/workflows/ci.yml
Phoebus 83368f774c
Some checks are pending
ci / test (push) Waiting to run
feat(git): add session context, host doctor, ADRs and git hygiene
Adds scripts/context.sh + 'make context' (one-screen session briefing),
scripts/doctor.sh + 'make doctor' (host prerequisites), docs/HANDOFF.md
(rolling cross-session note), docs/adr/ (BLS, desktop profile, keyring, Rust),
.githooks/commit-msg (Conventional Commits), .gitattributes, scripts/backup-git.sh
+ 'make backup', and a Forgejo Actions CI workflow. Updates AGENTS.md reading
order/work loop and DEVELOPMENT.md.
2026-09-20 02:36:32 -07:00

36 lines
1,000 B
YAML

# Forgejo Actions CI. Runs only once an Actions runner is registered with this
# label (see docs/DEVELOPMENT.md). It mirrors the local quality gates.
#
# If your runner uses different labels, change `runs-on` accordingly.
name: ci
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bash test suite
run: bash installer/tests/run_tests.sh
- name: shellcheck
run: |
if command -v shellcheck >/dev/null 2>&1; then
shellcheck -S warning installer/bin/ai-installer \
installer/lib/*.sh installer/tui/*.sh
else
echo "shellcheck not installed on this runner; skipping"
fi
- name: Rust test suite
run: |
if command -v cargo >/dev/null 2>&1; then
cd installer-rs && cargo test --workspace
else
echo "cargo not installed on this runner; skipping"
fi