CI: install the external test validators in the test job
Some checks failed
CI/CD / typecheck (pull_request) Successful in 46s
CI/CD / lint (pull_request) Successful in 1m10s
CI/CD / test (pull_request) Failing after 46s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped

ubuntu-autoinstall.test.ts and layout-consistency.test.ts parse the
rendered autoinstall YAML with python3+yaml, and kickstart.test.ts runs
ksvalidator -- none of which the runner image ships. 35 of the 569 tests
failed on exactly that, the same set that fails on a bare workstation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V6HNx6cyr4J4CiMGCy1wkF
This commit is contained in:
Michal
2026-10-14 19:04:39 +01:00
parent ee171a5f53
commit b15eabe191

View File

@@ -85,6 +85,9 @@ jobs:
- name: Generate Prisma client (labd typecheck needs it) - name: Generate Prisma client (labd typecheck needs it)
run: pnpm -C src/labd run db:generate run: pnpm -C src/labd run db:generate
- name: Install test validators (ubuntu-autoinstall parses YAML via python, kickstart.test runs ksvalidator)
run: sudo apt-get update -qq && sudo apt-get install -y -qq python3-yaml pykickstart
- name: Build (needed by completions check) - name: Build (needed by completions check)
run: pnpm build run: pnpm build