mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-17 04:50:52 +00:00
* fix(ci): reduce flaky failures and PR runtime * fix(ci): avoid label scope failures * fix(ci): tolerate GitHub download outages * fix(ci): cover packaged inputs in PR triggers * fix(ci): keep test-only changes out of package builds * perf(ci): reuse unchanged ET PR builds * fix: address Codex review on PR #2474 * fix(ci): harden automation PR handoffs * fix(ci): preserve reused implementation branches * fix(ci): deduplicate automation follow-ups * fix(ci): deduplicate automation follow-ups * fix(ci): ignore remapped stale Codex findings * fix(ci): use the established handoff label * fix(ci): isolate manual package validations * fix(ci): refresh existing Nix metadata PRs * fix(ci): hand off divergent implementation branches * fix(ci): serialize Homebrew tap updates --------- Co-authored-by: netcatty-bot <308658023+netcatty-bot@users.noreply.github.com>
54 lines
1.0 KiB
YAML
54 lines
1.0 KiB
YAML
name: test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
concurrency:
|
|
group: test-${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
name: lint-and-test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v7
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
|
|
- name: Install shell test dependencies
|
|
run: |
|
|
sudo apt-get update
|
|
sudo apt-get install -y fish
|
|
|
|
- name: Install deps
|
|
run: npm ci
|
|
|
|
- name: Lint
|
|
run: npm run lint
|
|
|
|
- name: Verify generated Catty tool specs
|
|
run: |
|
|
npm run generate:capability-tools
|
|
git diff --exit-code infrastructure/ai/harness/generated/cattyToolSpecs.json
|
|
|
|
- name: Verify Codex App Server schema
|
|
run: npm run check:codex-app-server-schema
|
|
|
|
- name: Test
|
|
run: npm test
|
|
|
|
- name: Build
|
|
run: npm run build
|