@@ -409,6 +409,25 @@ function setup() {
409409 assert_success
410410}
411411
412+ @test " virtualenv_uv_bootstrap_and_runtime_installs_skip_cleaning" {
413+ local file=" ansible/roles/ovos_virtualenv/tasks/venv.yml"
414+
415+ run bash -c " grep -A12 -F -- \" - name: Install tflite_runtime bootstrap package (non-macOS AVX/SIMD hosts)\" \" $file \" | grep -F -q -- 'not (ovos_installer_cleaning | default(false) | bool)'"
416+ assert_success
417+
418+ run bash -c " grep -A12 -F -- \" - name: Install wheel bootstrap package (macOS or non-AVX/SIMD hosts)\" \" $file \" | grep -F -q -- 'not (ovos_installer_cleaning | default(false) | bool)'"
419+ assert_success
420+
421+ run bash -c " grep -A12 -F -- \" - name: Install ggwave Python library\" \" $file \" | grep -F -q -- 'not (ovos_installer_cleaning | default(false) | bool)'"
422+ assert_success
423+
424+ run bash -c " grep -A12 -F -- \" - name: Ensure numpy Python library is installed\" \" $file \" | grep -F -q -- 'not (ovos_installer_cleaning | default(false) | bool)'"
425+ assert_success
426+
427+ run bash -c " grep -A12 -F -- \" - name: Ensure setuptools Python library is compatible with OVOS runtime\" \" $file \" | grep -F -q -- 'not (ovos_installer_cleaning | default(false) | bool)'"
428+ assert_success
429+ }
430+
412431@test " virtualenv_repairs_ownership_before_python_package_installs" {
413432 local file=" ansible/roles/ovos_virtualenv/tasks/venv.yml"
414433
@@ -428,6 +447,13 @@ function setup() {
428447 assert_success
429448}
430449
450+ @test " ovos_config_defaults_guard_ansible_facts_system_references" {
451+ local file=" ansible/roles/ovos_config/defaults/main.yml"
452+
453+ run grep -F -q " (ansible_facts.system | default('')) == 'Linux'" " $file "
454+ assert_success
455+ }
456+
431457@test " macos_fann2_build_has_swig2_compatibility_shim" {
432458 run grep -q " Resolve swig binary path for fann2 builds (macOS)" ansible/roles/ovos_virtualenv/tasks/packages.yml
433459 assert_success
@@ -491,13 +517,13 @@ function setup() {
491517 run grep -q " ovos_config_backup_paths_common" ansible/roles/ovos_config/defaults/main.yml
492518 assert_success
493519
494- run grep -q " ansible_facts.system == 'Linux'" ansible/roles/ovos_config/defaults/main.yml
520+ run grep -q " ( ansible_facts.system | default('')) == 'Linux'" ansible/roles/ovos_config/defaults/main.yml
495521 assert_success
496522
497- run grep -F -q ' .config/systemd/user", enabled: "{{ ansible_facts.system == ' \' ' Linux' \' ' }}" ' ansible/roles/ovos_config/defaults/main.yml
523+ run grep -F -q " enabled: \ " {{ ( ansible_facts.system | default('')) == 'Linux' }}\" " ansible/roles/ovos_config/defaults/main.yml
498524 assert_success
499525
500- run grep -F -q " /.config/systemd/user/*'] if ansible_facts.system == 'Linux' else []" ansible/roles/ovos_config/defaults/main.yml
526+ run grep -F -q " /.config/systemd/user/*'] if ( ansible_facts.system | default('')) == 'Linux' else []" ansible/roles/ovos_config/defaults/main.yml
501527 assert_success
502528}
503529
@@ -676,6 +702,14 @@ function setup() {
676702 assert_failure
677703}
678704
705+ @test " launchd_install_uses_collection_module_only" {
706+ run grep -q " community.general.launchd" ansible/roles/ovos_services/tasks/launchd.yml
707+ assert_success
708+
709+ run grep -q " launchctl" ansible/roles/ovos_services/tasks/launchd.yml
710+ assert_failure
711+ }
712+
679713@test " launchd_uninstall_removes_plists_with_privilege_escalation" {
680714 run bash -c " grep -A4 -F -- \" - name: Remove OVOS launchd plist files\" ansible/roles/ovos_services/tasks/uninstall-launchd.yml | grep -q -- \" become: true\" "
681715 assert_success
@@ -706,6 +740,19 @@ function setup() {
706740 assert_success
707741}
708742
743+ @test " mycroft_conf_sanitizes_timezone_prefix" {
744+ run grep -F -q " regex_replace('(?i)^\\\\ s*time\\\\ s*zone\\\\ s*:\\\\ s*', '')" ansible/roles/ovos_config/templates/mycroft.conf.j2
745+ assert_success
746+ }
747+
748+ @test " macos_cpu_detection_queries_leaf7_only_on_intel" {
749+ run grep -q ' machine_arch="$(uname -m' utils/common.sh
750+ assert_success
751+
752+ run bash -c ' grep -A4 -F -- "if [ \"\$machine_arch\" = \"x86_64\" ]; then" utils/common.sh | grep -q "machdep.cpu.leaf7_features"'
753+ assert_success
754+ }
755+
709756@test " macos_scenario_smoke_runs_on_intel_and_arm" {
710757 # Keep a generous context window because this job block may grow over time.
711758 # When GitHub retires macos-15-intel, update the Intel runner assertion below.
0 commit comments