Files
cc-ci/nix/modules/harness.nix

12 lines
602 B
Nix

# CI harness runtime (M4): `cc-ci-run` exposes a reproducible Python env (pytest + Playwright,
# Nix-provided browsers) plus the recipe-test tooling, so the Drone exec pipeline (and manual dev)
# can run the harness with `cc-ci-run runner/run_recipe_ci.py`.
#
# Phase `nixenv`: `cc-ci-run` (and the env it carries) is now defined ONCE in modules/packages.nix
# as `pkgs.cc-ci-run` — the SAME definition the nightly sweep execs and the same tool set the host
# `systemPackages` reference. This module just installs it on the host.
{ pkgs, ... }:
{
environment.systemPackages = [ pkgs.cc-ci-run ];
}